mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
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 New Issue
Block a user