diff options
author | Michael Brown | 2010-05-27 10:42:53 +0200 |
---|---|---|
committer | Michael Brown | 2010-05-27 10:42:53 +0200 |
commit | 28f73ca54e4f0bfbab0b5cd51a861c90947e519e (patch) | |
tree | 76a6cc5a8320c83d6b40eaf86780ee7c3f6d7835 /src/Makefile.housekeeping | |
parent | [efi] Verify object format support in elf2efi.c (diff) | |
download | ipxe-28f73ca54e4f0bfbab0b5cd51a861c90947e519e.tar.gz ipxe-28f73ca54e4f0bfbab0b5cd51a861c90947e519e.tar.xz ipxe-28f73ca54e4f0bfbab0b5cd51a861c90947e519e.zip |
[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>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index b63f7691..e5148e75 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -873,7 +873,7 @@ CLEANUP += $(ZBIN) # ELF2EFI_CFLAGS := -I$(BINUTILS_DIR)/include -I$(BFD_DIR)/include \ -idirafter include -L$(BINUTILS_DIR)/lib -L$(BFD_DIR)/lib \ - -lbfd -liberty -lz + -lbfd -liberty -lz -Wl,--no-warn-search-mismatch $(ELF2EFI32) : util/elf2efi.c $(MAKEDEPS) $(QM)$(ECHO) " [HOSTCC] $@" |