From 45d4b27d025ec71adc1218bcb2c02e50bcc08492 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 11 Dec 2017 19:10:10 -0500 Subject: [PATCH] cc-wrapper: GNAT wrapper stop caring about `-m32` It need not concern itself with 32-bit dynamic linking; ld-wrapper handles that now. --- pkgs/build-support/cc-wrapper/gnat-wrapper.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/build-support/cc-wrapper/gnat-wrapper.sh b/pkgs/build-support/cc-wrapper/gnat-wrapper.sh index 7a0eb28be636..0ac8f313ea18 100644 --- a/pkgs/build-support/cc-wrapper/gnat-wrapper.sh +++ b/pkgs/build-support/cc-wrapper/gnat-wrapper.sh @@ -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