summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/aliasing.diff
blob: d3e2f58ea660a9754b030f193cc18ce6c995253d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/qt.pro
+++ src/qt.pro
@@ -41,6 +41,8 @@
 XML_CPP	        = xml
 STYLES_CPP	= styles
 EMBEDDED_CPP	= embedded
+QMAKE_CFLAGS += -fno-strict-aliasing
+QMAKE_CFLAGS_MT += -fno-strict-aliasing
 
 win32 {
 	contains(QT_PRODUCT,qt-internal) {