diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-02-22 15:17:10 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-02-22 15:17:10 -0500 |
commit | 94a0c681d6fe0ae352d3b79bf5bca0c5d8dbc537 (patch) | |
tree | cc8af199c9b069167a8c56be04417b9fd2505088 | |
parent | 16cc323d7cef352d0f838feb253b0b2f4204ea2b (diff) |
libgcc: Always use GCC to build
With Clang it fails with `-fbuilding-libgcc` not being recognized.
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e43168c630c8..3001b487d736 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8556,7 +8556,9 @@ in librarian-puppet-go = callPackage ../development/tools/librarian-puppet-go { }; - libgcc = callPackage ../development/libraries/gcc/libgcc { }; + libgcc = callPackage ../development/libraries/gcc/libgcc { + stdenvNoLibs = gccStdenvNoLibs; # cannot be built with clang it seems + }; libstdcxx5 = callPackage ../development/libraries/gcc/libstdc++/5.nix { }; |