Revert "cc-wrapper: fix missing attribute"

This reverts commit 6454b8f9ef.
This commit is contained in:
Thomas Tuegel 2015-03-24 17:48:53 -05:00
parent 1c3c6e7dbb
commit 2e0775e3a8

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}/include/c++/*) -isystem $(echo -n ${cc}/include/c++/*)/$(${cc}/bin/gcc -dumpmachine)"
then "-isystem $(echo -n ${cc.gcc}/include/c++/*) -isystem $(echo -n ${cc.gcc}/include/c++/*)/$(${cc.gcc}/bin/gcc -dumpmachine)"
else ""
}"