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;