Merge pull request #113747 from r-burns/nixpkgs-gcc-decfloat
gcc: don't disable decimal-float when cross-compiling
This commit is contained in:
commit
e6ca7b6e5b
@ -86,7 +86,6 @@ let
|
|||||||
else if targetPlatform.isWindows then "mcf"
|
else if targetPlatform.isWindows then "mcf"
|
||||||
else "single"}"
|
else "single"}"
|
||||||
"--enable-nls"
|
"--enable-nls"
|
||||||
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
|
|
||||||
] ++ lib.optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
|
] ++ lib.optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
|
||||||
# libsanitizer requires netrom/netrom.h which is not
|
# libsanitizer requires netrom/netrom.h which is not
|
||||||
# available in uclibc.
|
# available in uclibc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user