diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-12-13 16:03:13 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-12-13 16:08:46 -0500 |
commit | 84fb59e0be30504e16ed428c34f1b321f6187fbe (patch) | |
tree | 0e499e13c17645ba93e786a63e2b0ee038db25c8 | |
parent | 7ef4448c97a8f13f0bd18bb67a84919121b941ea (diff) |
clang multi: Fix post bintools wrapper
-rw-r--r-- | pkgs/development/compilers/llvm/multi.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/multi.nix b/pkgs/development/compilers/llvm/multi.nix index 0fa0eb3404d8f..b4f2f8f9d6f6f 100644 --- a/pkgs/development/compilers/llvm/multi.nix +++ b/pkgs/development/compilers/llvm/multi.nix @@ -36,6 +36,10 @@ let # Most of the magic is done by setting the --gcc-toolchain option below libc = gcc_multi_sysroot; + bintools = clang.bintools.override { + libc = gcc_multi_sysroot; + }; + extraBuildCommands = '' sed -e '$a --gcc-toolchain=${gcc_multi_sysroot}' -i $out/nix-support/libc-cflags ''; |