summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2015-09-14 23:49:34 +0200
committerMichael Brown2015-09-14 23:55:40 +0200
commit40a9a0f097d87252f2b4f3cd884c9261b1d3d1e8 (patch)
treed4c1c094fdf2205b785f508c753ad4b221008b12 /src/Makefile.housekeeping
parent[ncm] Support setting MAC address (diff)
downloadipxe-40a9a0f097d87252f2b4f3cd884c9261b1d3d1e8.tar.gz
ipxe-40a9a0f097d87252f2b4f3cd884c9261b1d3d1e8.tar.xz
ipxe-40a9a0f097d87252f2b4f3cd884c9261b1d3d1e8.zip
[build] Remove dependency on libiberty
Commit 7d36a1b ("[build] Explicitly link efilink against -liberty") introduced a dependency on libiberty to cope with old versions of libbfd. This commit dates from 2008 and seems to apply only to what are now extremely old versions of libbfd (prior to binutils 2.12). There are systems (such as current Debian) which do not include libiberty within the binutils packages. On such systems, our build dependency on libiberty represents a pointless hurdle. Remove the explicit dependency on libiberty, hoping that there are no modern systems where this will cause a problem. Suggested-by: Ben Hildred <42656e@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 03800c8e..6bd73672 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -1301,7 +1301,7 @@ CLEANUP += $(ZBIN)
ELF2EFI_CFLAGS := -I$(BINUTILS_DIR)/include -I$(BFD_DIR)/include \
-I$(ZLIB_DIR)/include -idirafter include
ELF2EFI_LDFLAGS := -L$(BINUTILS_DIR)/lib -L$(BFD_DIR)/lib -L$(ZLIB_DIR)/lib \
- -lbfd -ldl -liberty -lz -Wl,--no-warn-search-mismatch
+ -lbfd -ldl -lz -Wl,--no-warn-search-mismatch
$(ELF2EFI32) : util/elf2efi.c $(MAKEDEPS)
$(QM)$(ECHO) " [HOSTCC] $@"