Merge pull request #119872 from alyssais/ssp
gcc: don't build libssp on NetBSD
This commit is contained in:
commit
e9c3991316
@ -176,6 +176,7 @@ let
|
|||||||
|
|
||||||
# Platform-specific flags
|
# Platform-specific flags
|
||||||
++ lib.optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}"
|
++ 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 [
|
++ lib.optionals hostPlatform.isSunOS [
|
||||||
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
|
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
|
||||||
# On Illumos/Solaris GNU as is preferred
|
# On Illumos/Solaris GNU as is preferred
|
||||||
|
Loading…
Reference in New Issue
Block a user