From 84fb59e0be30504e16ed428c34f1b321f6187fbe Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 13 Dec 2017 16:03:13 -0500 Subject: [PATCH] clang multi: Fix post bintools wrapper --- pkgs/development/compilers/llvm/multi.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/compilers/llvm/multi.nix b/pkgs/development/compilers/llvm/multi.nix index 0fa0eb3404d8..b4f2f8f9d6f6 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 '';