mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
gcc: fix powerpc64-linux
Long-double-128 is a hardware feature independent of endianness
This commit is contained in:
parent
76fc6d2870
commit
5530a3adbe
@ -11,6 +11,6 @@ in lib.concatLists [
|
|||||||
(lib.optional (p ? float) "--with-float=${p.float}")
|
(lib.optional (p ? float) "--with-float=${p.float}")
|
||||||
(lib.optional (p ? mode) "--with-mode=${p.mode}")
|
(lib.optional (p ? mode) "--with-mode=${p.mode}")
|
||||||
(lib.optional
|
(lib.optional
|
||||||
(let tp = targetPlatform; in tp.isPower && tp.libc == "glibc" && tp.is64bit && tp.isLittleEndian)
|
(let tp = targetPlatform; in tp.isPower && tp.libc == "glibc" && tp.is64bit)
|
||||||
"--with-long-double-128")
|
"--with-long-double-128")
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user