Merge pull request #113747 from r-burns/nixpkgs-gcc-decfloat

gcc: don't disable decimal-float when cross-compiling
This commit is contained in:
John Ericson 2021-03-21 13:27:43 -04:00 committed by GitHub
commit e6ca7b6e5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,6 @@ let
else if targetPlatform.isWindows then "mcf"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
] ++ lib.optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.