gcc: don't disable decimal-float when cross-compiling
This causes some minor ugliness during stdenv bootstrap on powerpc64le using cross-compiled bootstrap tools. MPFR wants to use decimal floats by default so they have to be manually disabled in the configure flags when using cross-compiled bootstrap tools. The lineage of this particular configure flag traces back to 2010 (!) It was added in commit: 9b1d5353a951a29e33a3a137cb3d5246c1eff6a7 I've built various cross bootstrap tools and they seem to work fine, so I don't think this is needed anymore.
This commit is contained in:
parent
2f6523f96b
commit
f74c281386
@ -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