diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-02-27 22:23:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-27 22:23:36 +0000 |
commit | 766246c6dfbd12eb730d383938a397bfef7037bd (patch) | |
tree | 47253dc77f9e6826418242fe361d023d7789b5d5 /pkgs/development/compilers | |
parent | 79efdab171b5012b753632b02fd30857335fc14c (diff) | |
parent | f2ac16ec28a880fb0a0e009020e6f4befeb4db40 (diff) | |
download | nixpkgs-766246c6dfbd12eb730d383938a397bfef7037bd.tar nixpkgs-766246c6dfbd12eb730d383938a397bfef7037bd.tar.gz nixpkgs-766246c6dfbd12eb730d383938a397bfef7037bd.tar.bz2 nixpkgs-766246c6dfbd12eb730d383938a397bfef7037bd.tar.lz nixpkgs-766246c6dfbd12eb730d383938a397bfef7037bd.tar.xz nixpkgs-766246c6dfbd12eb730d383938a397bfef7037bd.tar.zst nixpkgs-766246c6dfbd12eb730d383938a397bfef7037bd.zip |
Merge pull request #112843 from r-burns/gcc-ppc-m32
gcc: support -m32 on ppc64le
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/gcc/common/configure-flags.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc/common/configure-flags.nix b/pkgs/development/compilers/gcc/common/configure-flags.nix index 443ed19235d..f7ec7b6ee2d 100644 --- a/pkgs/development/compilers/gcc/common/configure-flags.nix +++ b/pkgs/development/compilers/gcc/common/configure-flags.nix @@ -144,6 +144,10 @@ let (lib.enableFeature enablePlugin "plugin") ] + # Support -m32 on powerpc64le + ++ lib.optional (targetPlatform.system == "powerpc64le-linux") + "--enable-targets=powerpcle-linux" + # Optional features ++ lib.optional (isl != null) "--with-isl=${isl}" ++ lib.optionals (cloog != null) [ |