Now checks whether g++ option -fno-ipa-sra is available before adding it.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1516 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-02-20 20:24:03 +00:00
parent 37daadacd9
commit 03bb2b3776

View File

@@ -157,6 +157,10 @@ macx {
}
# Compilers-specific options
*-g++* {
unix {
*-g++* {
system(g++ -v --help 2>&1 | grep -q fipa-sra) {
QMAKE_CXXFLAGS += -fno-ipa-sra
}
}
}