clang multi: Fix post bintools wrapper

This commit is contained in:
John Ericson 2017-12-13 16:03:13 -05:00
parent 7ef4448c97
commit 84fb59e0be

View file

@ -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
'';