gcc: fix powerpc64-linux

Long-double-128 is a hardware feature independent of endianness
wip/yesman
Ryan Burns 3 years ago
parent 76fc6d2870
commit 5530a3adbe
  1. 2
      pkgs/development/compilers/gcc/common/platform-flags.nix

@ -11,6 +11,6 @@ in lib.concatLists [
(lib.optional (p ? float) "--with-float=${p.float}")
(lib.optional (p ? mode) "--with-mode=${p.mode}")
(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")
]

Loading…
Cancel
Save