[qet] [1507] Now uses -fno-ipa-sra with g++, due to compilation errors wth -O2 and beyond.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 1507
Author:   xavier
Date:     2012-02-14 22:09:38 +0100 (Tue, 14 Feb 2012)
Log Message:
-----------
Now uses -fno-ipa-sra with g++, due to compilation errors wth -O2 and beyond.

Modified Paths:
--------------
    branches/0.3/qelectrotech.pro

Modified: branches/0.3/qelectrotech.pro
===================================================================
--- branches/0.3/qelectrotech.pro	2012-02-13 22:28:26 UTC (rev 1506)
+++ branches/0.3/qelectrotech.pro	2012-02-14 21:09:38 UTC (rev 1507)
@@ -155,3 +155,8 @@
 	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
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/