summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/aliasing.diff
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/qt3/aliasing.diff')
-rw-r--r--opensuse/core/qt3/aliasing.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/opensuse/core/qt3/aliasing.diff b/opensuse/core/qt3/aliasing.diff
new file mode 100644
index 000000000..d3e2f58ea
--- /dev/null
+++ b/opensuse/core/qt3/aliasing.diff
@@ -0,0 +1,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) {