mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 10:30:53 +01:00
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:
@@ -157,6 +157,10 @@ macx {
|
||||
}
|
||||
|
||||
# Compilers-specific options
|
||||
*-g++* {
|
||||
QMAKE_CXXFLAGS += -fno-ipa-sra
|
||||
unix {
|
||||
*-g++* {
|
||||
system(g++ -v --help 2>&1 | grep -q fipa-sra) {
|
||||
QMAKE_CXXFLAGS += -fno-ipa-sra
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user