custom cc script: add c++ support for gcc46 compiler
authorJohn Marino <draco@marino.st>
Sat, 28 Jan 2012 16:34:57 +0000 (17:34 +0100)
committerJohn Marino <draco@marino.st>
Sat, 28 Jan 2012 16:34:57 +0000 (17:34 +0100)
libexec/customcc/cc.sh

index 8755ef6..4829ac5 100644 (file)
@@ -37,7 +37,8 @@ elif [ "${CCVER}" = "clangsvn" ]; then
 elif [ "${CCVER}" = "gcc46" ]; then
        INCOPT="-nostdinc \
            -isysroot @@INCPREFIX@@ \
-           -isystem /usr/include"
+           -isystem /usr/include" \
+           -isystem /usr/include/c++/4.4"
 fi
 
 . /etc/defaults/compilers.conf