Merge pull request #119872 from alyssais/ssp
gcc: don't build libssp on NetBSD
This commit is contained in:
commit
e9c3991316
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ let
|
|||
|
||||
# Platform-specific flags
|
||||
++ lib.optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}"
|
||||
++ lib.optional targetPlatform.isNetBSD "--disable-libssp" # Provided by libc.
|
||||
++ lib.optionals hostPlatform.isSunOS [
|
||||
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
|
||||
# On Illumos/Solaris GNU as is preferred
|
||||
|
|
Loading…
Reference in a new issue