Преглед на файлове

[build] Inhibit "skipping incompatible" message from ld

On 64-bit systems with both 32-bit and 64-bit libraries installed, ld
tends to generate noisy "skipping incompatible /usr/lib/libxxx.so"
messages when building elf2efi.c.

Fix by passing --no-warn-search-mismatch to ld.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown преди 14 години
родител
ревизия
28f73ca54e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      src/Makefile.housekeeping

+ 1
- 1
src/Makefile.housekeeping Целия файл

@@ -873,7 +873,7 @@ CLEANUP += $(ZBIN)
873 873
 #
874 874
 ELF2EFI_CFLAGS	:= -I$(BINUTILS_DIR)/include -I$(BFD_DIR)/include \
875 875
 		   -idirafter include -L$(BINUTILS_DIR)/lib -L$(BFD_DIR)/lib \
876
-		   -lbfd -liberty -lz
876
+		   -lbfd -liberty -lz -Wl,--no-warn-search-mismatch
877 877
 
878 878
 $(ELF2EFI32) : util/elf2efi.c $(MAKEDEPS)
879 879
 	$(QM)$(ECHO) "  [HOSTCC] $@"

Loading…
Отказ
Запис