misc pkgs: Use $NIX_BINUTILS for when needed

Certain files are now only there instead of $NIX_CC (some are in both)
This commit is contained in:
John Ericson
2017-09-01 11:44:55 -04:00
parent 40e9b2a7e6
commit 3f30cffa55
155 changed files with 189 additions and 186 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ if test "$noSysDirs" = "1"; then
# Figure out what extra flags to pass to the gcc compilers
# being generated to make sure that they use our glibc.
extraFlags="$(cat $NIX_CC/nix-support/libc-cflags)"
extraLDFlags="$(cat $NIX_CC/nix-support/libc-ldflags) $(cat $NIX_CC/nix-support/libc-ldflags-before || true)"
extraLDFlags="$(cat $NIX_BINUTILS/nix-support/libc-ldflags) $(cat $NIX_BINUTILS/nix-support/libc-ldflags-before || true)"
# Use *real* header files, otherwise a limits.h is generated
# that does not include Glibc's limits.h (notably missing