cc-wrapper: disable stackprotector for mingw
It seems to break things.
This commit is contained in:
parent
680957d8b2
commit
4f6d61e5cf
@ -280,6 +280,10 @@ stdenv.mkDerivation {
|
||||
hardening_unsupported_flags+=" pic"
|
||||
''
|
||||
|
||||
+ optionalString targetPlatform.isMinGW ''
|
||||
hardening_unsupported_flags+=" stackprotector"
|
||||
''
|
||||
|
||||
+ ''
|
||||
substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
|
||||
substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
|
||||
|
Loading…
Reference in New Issue
Block a user