|
@@ -106,6 +106,13 @@ $(warning export LANG=$${LANG%.UTF-8})
|
106
|
106
|
$(error Unsuitable build environment found)
|
107
|
107
|
endif
|
108
|
108
|
|
|
109
|
+LD_GOLD_BANNER := $(shell $(LD) -v 2>&1 | grep 'GNU gold')
|
|
110
|
+ifneq ($(LD_GOLD_BANNER),)
|
|
111
|
+$(warning GNU gold is unsuitable for building iPXE)
|
|
112
|
+$(warning Use GNU ld instead)
|
|
113
|
+$(error Unsuitable build environment found)
|
|
114
|
+endif
|
|
115
|
+
|
109
|
116
|
###############################################################################
|
110
|
117
|
#
|
111
|
118
|
# Check for various tool workarounds
|