forked from rarias/bscpkgs
fix gcc icc
This commit is contained in:
parent
ae59902fcc
commit
3e0473d75e
@ -402,7 +402,6 @@ let
|
|||||||
echo "-L${cc}/lib" >> $out/nix-support/cc-ldflags
|
echo "-L${cc}/lib" >> $out/nix-support/cc-ldflags
|
||||||
|
|
||||||
echo "--gcc-toolchain=${mygcc.cc}" >> $out/nix-support/libcxx-cxxflags
|
echo "--gcc-toolchain=${mygcc.cc}" >> $out/nix-support/libcxx-cxxflags
|
||||||
echo "-B${mygcc.cc}/lib/gcc/${targetConfig}/${mygcc.version}" >> $out/nix-support/cc-cflags
|
|
||||||
|
|
||||||
for dir in ${mygcc.cc}/include/c++/*; do
|
for dir in ${mygcc.cc}/include/c++/*; do
|
||||||
echo "-isystem $dir" >> $out/nix-support/libcxx-cxxflags
|
echo "-isystem $dir" >> $out/nix-support/libcxx-cxxflags
|
||||||
|
|||||||
Reference in New Issue
Block a user