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

netbsd: disable stack protection on i686

Builds fail otherwise, because the linker can't find the stack
protector symbols.
This commit is contained in:
Alyssa Ross 2021-06-01 14:58:28 +00:00
parent 4d6a0bb966
commit f2c72bca63

View file

@ -96,6 +96,8 @@ in lib.makeScopeWithSplicing
HAVE_LLVM = lib.versions.major (lib.getVersion stdenv'.cc.cc);
} // lib.optionalAttrs (stdenv'.cc.isGNU or false) {
HAVE_GCC = lib.versions.major (lib.getVersion stdenv'.cc.cc);
} // lib.optionalAttrs (stdenv'.isx86_32) {
USE_SSP = "no";
} // lib.optionalAttrs (attrs.headersOnly or false) {
installPhase = "includesPhase";
dontBuild = true;