From fce37998d14c37bd13974f85bce53ea603a9bc7d Mon Sep 17 00:00:00 2001 From: xavier Date: Tue, 14 Feb 2012 21:09:38 +0000 Subject: [PATCH] Now uses -fno-ipa-sra with g++, due to compilation errors wth -O2 and beyond. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1507 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- qelectrotech.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qelectrotech.pro b/qelectrotech.pro index 37c2ab303..d1931faaf 100644 --- a/qelectrotech.pro +++ b/qelectrotech.pro @@ -155,3 +155,8 @@ macx { DEFINES += QET_LANG_PATH_RELATIVE_TO_BINARY_PATH DEFINES += QET_COMMON_COLLECTION_PATH_RELATIVE_TO_BINARY_PATH } + +# Compilers-specific options +*-g++* { + QMAKE_CXXFLAGS += -fno-ipa-sra +}