aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-11-25 19:44:51 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-11-25 19:44:51 +0000
commit4aa63711a7423cb419d1225ca4576b3614658454 (patch)
tree6f111423884fb2c8c82e0def32b067c17e66183c /lib/libelf/Makefile
parentb791fbe6302023b0cf00807865059c8f016fe5dc (diff)
downloadsrc-4aa63711a7423cb419d1225ca4576b3614658454.tar.gz
src-4aa63711a7423cb419d1225ca4576b3614658454.zip
META MODE: Fix 'make bootstrap-tools'.
The main problem was bitrot after elftoolchain being swapped in for the GNU toolchain. This also reworks how the list of 'host allowed' libraries is determined to only allow INTERNALLIBs, which is needed for libelftc to come in. For usr.bin/readelf use the same hack, as libelf and libdward, to bring in the needed sys/ headers for host builds. This has not yet been a problem due to readelf not being built as a host tool in buildworld. This is possible in the meta build though when building the toolchain. Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=291321
Diffstat (limited to 'lib/libelf/Makefile')
-rw-r--r--lib/libelf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index 91dbea6f1d88..b8aa4df64c67 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -65,7 +65,7 @@ SRCS= elf.c \
INCS= libelf.h gelf.h
-#
+# This same hack is in lib/libdwarf/Makefile and usr.bin/readelf/Makefile
# We need to link against the correct version of these files. One
# solution is to include ../../sys in the include path. This causes
# problems when a header file in sys depends on a file in another