Commit f74c2813 authored by Ryan Burns's avatar Ryan Burns
Browse files

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: 9b1d5353
I've built various cross bootstrap tools and they seem to work fine,
so I don't think this is needed anymore.
parent 2f6523f9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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.