mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
clang multi: Fix post bintools wrapper
This commit is contained in:
parent
7ef4448c97
commit
84fb59e0be
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue