1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

cc-wrapper: Don't slurp NIX_DONT_SET_RPATH twice

Otherwise we end with a definition like `1 1`, which doesn't trigger the right
conditional.
This commit is contained in:
John Ericson 2017-08-07 11:04:19 -04:00
parent 1271e5e0d4
commit 810fb0c968

View file

@ -58,7 +58,6 @@ for pre in "${role_prefixes[@]}"; do
slurpUnsalted CFLAGS_LINK
slurpUnsalted CXXSTDLIB_COMPILE
slurpUnsalted CXXSTDLIB_LINK
slurpUnsalted DONT_SET_RPATH
slurpUnsalted GNATFLAGS_COMPILE
slurpUnsalted IGNORE_LD_THROUGH_GCC
slurpUnsalted LDFLAGS