[build] Inhibit "skipping incompatible" message from ld
[gpxe.git] / src / Makefile.housekeeping
index 0de3fc2..7aadadf 100644 (file)
@@ -876,7 +876,8 @@ CLEANUP += $(ZBIN)
 ELF2EFI_CFLAGS := -I$(BINUTILS_DIR)/include -I$(BFD_DIR)/include \
                   -I$(ZLIB_DIR)/include -idirafter include \
                   -L$(BINUTILS_DIR)/lib -L$(BFD_DIR)/lib \
-                  -L$(ZLIB_DIR)/lib -lbfd -liberty -lz
+                  -L$(ZLIB_DIR)/lib -lbfd -liberty -lz \
+                  -Wl,--no-warn-search-mismatch
 
 $(ELF2EFI32) : util/elf2efi.c $(MAKEDEPS)
        $(QM)$(ECHO) "  [HOSTCC] $@"