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:
parent
4d6a0bb966
commit
f2c72bca63
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue