cc-wrapper: Check if ld supports -z, fixes darwin

This commit is contained in:
Franz Pletz
2016-03-07 21:40:20 +01:00
parent b2b499e6c4
commit baee91ec60
5 changed files with 11 additions and 2 deletions
@@ -89,6 +89,7 @@ if [[ "@prog@" = *++ ]]; then
fi
fi
LD=@ldPath@/ld
source @out@/nix-support/add-hardening.sh
# Add the flags for the C compiler proper.