[qet] [2015] The -fno-ipa-sra option is now added under Windows too.

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


Revision: 2015
Author:   xavier
Date:     2013-01-28 22:04:31 +0100 (Mon, 28 Jan 2013)
Log Message:
-----------
The -fno-ipa-sra option is now added under Windows too.

Modified Paths:
--------------
    trunk/qelectrotech.pro

Modified: trunk/qelectrotech.pro
===================================================================
--- trunk/qelectrotech.pro	2013-01-27 16:34:34 UTC (rev 2014)
+++ trunk/qelectrotech.pro	2013-01-28 21:04:31 UTC (rev 2015)
@@ -164,3 +164,10 @@
 		}
 	}
 }
+win32 {
+	*-g++* {
+		system(g++ -v --help 2>&1 | find \"fipa-sra\" >NUL) {
+			QMAKE_CXXFLAGS += -fno-ipa-sra
+		}
+	}
+}


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