diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-11-25 19:44:51 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-11-25 19:44:51 +0000 |
commit | cbc5242afd27883fc700d661c55fd6bf3b0f50f2 (patch) | |
tree | 6f111423884fb2c8c82e0def32b067c17e66183c /lib/libelf | |
parent | 52255645fb90fea4463237052ca49411638d381a (diff) | |
download | FreeBSD-src-cbc5242afd27883fc700d661c55fd6bf3b0f50f2.zip FreeBSD-src-cbc5242afd27883fc700d661c55fd6bf3b0f50f2.tar.gz |
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
Diffstat (limited to 'lib/libelf')
-rw-r--r-- | lib/libelf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile index 91dbea6f1..b8aa4df 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 |