gcc: fix powerpc64-linux

Long-double-128 is a hardware feature independent of endianness
This commit is contained in:
Ryan Burns 2021-01-29 19:23:17 -08:00
parent 76fc6d2870
commit 5530a3adbe

View File

@ -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")
] ]