Update configure-flags.nix
This commit is contained in:
parent
58ffaee5d7
commit
f2a33e4486
@ -69,6 +69,11 @@ let
|
|||||||
"--with-gnu-ld"
|
"--with-gnu-ld"
|
||||||
"--disable-debug"
|
"--disable-debug"
|
||||||
"--disable-win32-registry"
|
"--disable-win32-registry"
|
||||||
|
"--enable-hash-synchronization"
|
||||||
|
"--enable-libssp"
|
||||||
|
"--disable-nls"
|
||||||
|
# To keep ABI compatibility with upstream mingw-w64
|
||||||
|
"--enable-fully-dynamic-string"
|
||||||
] ++ lib.optionals (crossMingw && targetPlatform.isx86_32) [
|
] ++ lib.optionals (crossMingw && targetPlatform.isx86_32) [
|
||||||
# See Note [Windows Exception Handling]
|
# See Note [Windows Exception Handling]
|
||||||
"--enable-sjlj-exceptions"
|
"--enable-sjlj-exceptions"
|
||||||
@ -93,12 +98,6 @@ let
|
|||||||
] ++ lib.optionals (targetPlatform.libc == "musl") [
|
] ++ lib.optionals (targetPlatform.libc == "musl") [
|
||||||
# musl at least, disable: https://git.buildroot.net/buildroot/commit/?id=873d4019f7fb00f6a80592224236b3ba7d657865
|
# musl at least, disable: https://git.buildroot.net/buildroot/commit/?id=873d4019f7fb00f6a80592224236b3ba7d657865
|
||||||
"--disable-libmpx"
|
"--disable-libmpx"
|
||||||
] ++ lib.optionals crossMingw [
|
|
||||||
"--enable-hash-synchronization"
|
|
||||||
"--enable-libssp"
|
|
||||||
"--disable-nls"
|
|
||||||
# To keep ABI compatibility with upstream mingw-w64
|
|
||||||
"--enable-fully-dynamic-string"
|
|
||||||
] ++ lib.optional (targetPlatform.libc == "newlib") "--with-newlib"
|
] ++ lib.optional (targetPlatform.libc == "newlib") "--with-newlib"
|
||||||
++ lib.optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
|
++ lib.optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user