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
+1 -1
View File
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ m4 ];
# FIXME needs gcc 4.9 in bootstrap tools
hardeningDisable = [ "stackprotector" ];
hardeningDisable = [ "format" "stackprotector" ];
patches = if stdenv.isDarwin then [ ./need-size-t.patch ] else null;