gcc: update powerpc-specific configuration
* support -m32 on (big-endian) powerpc64-linux * fix compilation to powerpc*-musl targets with incomplete decimal-float support
This commit is contained in:
parent
739f0b22b7
commit
7364241a6a
1 changed files with 7 additions and 1 deletions
|
@ -158,9 +158,15 @@ let
|
|||
(lib.enableFeature enablePlugin "plugin")
|
||||
]
|
||||
|
||||
# Support -m32 on powerpc64le
|
||||
# Support -m32 on powerpc64le/be
|
||||
++ lib.optional (targetPlatform.system == "powerpc64le-linux")
|
||||
"--enable-targets=powerpcle-linux"
|
||||
++ lib.optional (targetPlatform.system == "powerpc64-linux")
|
||||
"--enable-targets=powerpc-linux"
|
||||
|
||||
# Fix "unknown long double size, cannot define BFP_FMT"
|
||||
++ lib.optional (targetPlatform.isPower && targetPlatform.isMusl)
|
||||
"--disable-decimal-float"
|
||||
|
||||
# Optional features
|
||||
++ lib.optional (isl != null) "--with-isl=${isl}"
|
||||
|
|
Loading…
Reference in a new issue