diff options
author | Ryan Burns <rtburns@protonmail.com> | 2021-01-29 19:23:17 -0800 |
---|---|---|
committer | Ryan Burns <rtburns@protonmail.com> | 2021-01-30 12:34:30 -0800 |
commit | 5530a3adbe9be842f22cd83b59b06cdd5a94308e (patch) | |
tree | f7bfb02b3d0b8ac1c65be00839bbf4fb0aa7d634 /pkgs/development/compilers/gcc/common/platform-flags.nix | |
parent | 76fc6d2870ff4e79e227c409dfae9378d4b12573 (diff) |
gcc: fix powerpc64-linux
Long-double-128 is a hardware feature independent of endianness
Diffstat (limited to 'pkgs/development/compilers/gcc/common/platform-flags.nix')
-rw-r--r-- | pkgs/development/compilers/gcc/common/platform-flags.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/common/platform-flags.nix b/pkgs/development/compilers/gcc/common/platform-flags.nix index 66af8c4a4cc7..bd5a72f96036 100644 --- a/pkgs/development/compilers/gcc/common/platform-flags.nix +++ b/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") ] |