1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

cc-wrapper: GNAT wrapper stop caring about -m32

It need not concern itself with 32-bit dynamic linking; ld-wrapper handles that now.
This commit is contained in:
John Ericson 2017-12-11 19:10:10 -05:00
parent 4e4520a0f3
commit 45d4b27d02

View file

@ -36,10 +36,6 @@ for i in "$@"; do
dontLink=1
elif [ "${i:0:1}" != - ]; then
nonFlagArgs=1
elif [ "$i" = -m32 ]; then
if [ -e @out@/nix-support/dynamic-linker-m32 ]; then
NIX_@infixSalt@_LDFLAGS+=" -dynamic-linker $(< @out@/nix-support/dynamic-linker-m32)"
fi
fi
done