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 /pkgs/development/compilers/llvm | |
parent | 7ef4448c97a8f13f0bd18bb67a84919121b941ea (diff) | |
download | nixpkgs-84fb59e0be30504e16ed428c34f1b321f6187fbe.tar nixpkgs-84fb59e0be30504e16ed428c34f1b321f6187fbe.tar.gz nixpkgs-84fb59e0be30504e16ed428c34f1b321f6187fbe.tar.bz2 nixpkgs-84fb59e0be30504e16ed428c34f1b321f6187fbe.tar.lz nixpkgs-84fb59e0be30504e16ed428c34f1b321f6187fbe.tar.xz nixpkgs-84fb59e0be30504e16ed428c34f1b321f6187fbe.tar.zst nixpkgs-84fb59e0be30504e16ed428c34f1b321f6187fbe.zip |
clang multi: Fix post bintools wrapper
Diffstat (limited to 'pkgs/development/compilers/llvm')
-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 0fa0eb3404d..b4f2f8f9d6f 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 ''; |