3
0
Fork 0
forked from mirrors/nixpkgs

cc-wrapper: fix missing attribute

This commit is contained in:
Thomas Tuegel 2015-03-23 10:13:44 -05:00
parent 9c579f691f
commit 6454b8f9ef

View file

@ -171,7 +171,7 @@ stdenv.mkDerivation {
export real_cxx=c++
export default_cxx_stdlib_compile="${
if stdenv.isLinux && !(cc.isGNU or false)
then "-isystem $(echo -n ${cc.gcc}/include/c++/*) -isystem $(echo -n ${cc.gcc}/include/c++/*)/$(${cc.gcc}/bin/gcc -dumpmachine)"
then "-isystem $(echo -n ${cc}/include/c++/*) -isystem $(echo -n ${cc}/include/c++/*)/$(${cc}/bin/gcc -dumpmachine)"
else ""
}"