diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-01-19 21:40:06 +0000 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-01-20 18:35:25 +0100 |
commit | 4ed0e1a743dbd92f865e6c7a4980bdf55b40df46 (patch) | |
tree | 386ed36264d3c177705e256575fadd5f257c3983 /pkgs/development/compilers/gcc/10/default.nix | |
parent | f5e63a0e9e4b1846964dcaa61a5325b7b70a3a39 (diff) |
gcc: use as(1) from binutils with LLVM bintools
LLVM does not provide a drop-in replacement for as(1). This makes it possible to build a GNU Fortran cross compiler from GNU to LLVM — e.g. buildPackages.gfortran for { system = "aarch64-linux"; useLLVM = true; }
Diffstat (limited to 'pkgs/development/compilers/gcc/10/default.nix')
-rw-r--r-- | pkgs/development/compilers/gcc/10/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/gcc/10/default.nix b/pkgs/development/compilers/gcc/10/default.nix index b2c2ac9875aad..2751501901f2d 100644 --- a/pkgs/development/compilers/gcc/10/default.nix +++ b/pkgs/development/compilers/gcc/10/default.nix @@ -13,7 +13,7 @@ , enableLTO ? !stdenv.hostPlatform.isStatic , texinfo ? null , perl ? null # optional, for texi2pod (then pod2man) -, gmp, mpfr, libmpc, gettext, which, patchelf +, gmp, mpfr, libmpc, gettext, which, patchelf, binutils , isl ? null # optional, for the Graphite optimization framework. , zlib ? null , gnatboot ? null @@ -202,7 +202,7 @@ stdenv.mkDerivation ({ crossStageStatic libcCross threadsCross version - gmp mpfr libmpc isl + binutils gmp mpfr libmpc isl enableLTO enableMultilib |