diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-06-01 14:58:28 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-06-06 18:52:58 +0000 |
commit | f2c72bca630b13c23aad2addfee3c0dc9b64f29a (patch) | |
tree | e81f86172542e2ee9b268d994d8cbb5f5e0bac5e | |
parent | 4d6a0bb9667c8083076a96744bdc71643c6febc6 (diff) |
netbsd: disable stack protection on i686
Builds fail otherwise, because the linker can't find the stack protector symbols.
-rw-r--r-- | pkgs/os-specific/bsd/netbsd/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index 9e0b734c81745..d53a1afe5e6cb 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -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; |