summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-01-29 19:23:17 -0800
committerRyan Burns <rtburns@protonmail.com>2021-01-30 12:34:30 -0800
commit5530a3adbe9be842f22cd83b59b06cdd5a94308e (patch)
treef7bfb02b3d0b8ac1c65be00839bbf4fb0aa7d634 /pkgs/development/compilers/gcc
parent76fc6d2870ff4e79e227c409dfae9378d4b12573 (diff)
downloadnixpkgs-5530a3adbe9be842f22cd83b59b06cdd5a94308e.tar
nixpkgs-5530a3adbe9be842f22cd83b59b06cdd5a94308e.tar.gz
nixpkgs-5530a3adbe9be842f22cd83b59b06cdd5a94308e.tar.bz2
nixpkgs-5530a3adbe9be842f22cd83b59b06cdd5a94308e.tar.lz
nixpkgs-5530a3adbe9be842f22cd83b59b06cdd5a94308e.tar.xz
nixpkgs-5530a3adbe9be842f22cd83b59b06cdd5a94308e.tar.zst
nixpkgs-5530a3adbe9be842f22cd83b59b06cdd5a94308e.zip
gcc: fix powerpc64-linux
Long-double-128 is a hardware feature independent of endianness
Diffstat (limited to 'pkgs/development/compilers/gcc')
-rw-r--r--pkgs/development/compilers/gcc/common/platform-flags.nix2
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 66af8c4a4cc..bd5a72f9603 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")
 ]