forked from mirrors/nixpkgs
clang multi: Fix post bintools wrapper
This commit is contained in:
parent
7ef4448c97
commit
84fb59e0be
|
@ -36,6 +36,10 @@ let
|
||||||
# Most of the magic is done by setting the --gcc-toolchain option below
|
# Most of the magic is done by setting the --gcc-toolchain option below
|
||||||
libc = gcc_multi_sysroot;
|
libc = gcc_multi_sysroot;
|
||||||
|
|
||||||
|
bintools = clang.bintools.override {
|
||||||
|
libc = gcc_multi_sysroot;
|
||||||
|
};
|
||||||
|
|
||||||
extraBuildCommands = ''
|
extraBuildCommands = ''
|
||||||
sed -e '$a --gcc-toolchain=${gcc_multi_sysroot}' -i $out/nix-support/libc-cflags
|
sed -e '$a --gcc-toolchain=${gcc_multi_sysroot}' -i $out/nix-support/libc-cflags
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue