summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tqt3/aliasing.diff
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/tqt3/aliasing.diff')
-rw-r--r--opensuse/core/tqt3/aliasing.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/opensuse/core/tqt3/aliasing.diff b/opensuse/core/tqt3/aliasing.diff
new file mode 100644
index 000000000..1b3213c16
--- /dev/null
+++ b/opensuse/core/tqt3/aliasing.diff
@@ -0,0 +1,13 @@
+Index: src/qt.pro
+===================================================================
+--- src/qt.pro.orig
++++ src/qt.pro
+@@ -41,6 +41,8 @@ INPUTMETHOD_CPP = inputmethod
+ XML_CPP = xml
+ STYLES_CPP = styles
+ EMBEDDED_CPP = embedded
++TQMAKE_CFLAGS += -fno-strict-aliasing
++TQMAKE_CFLAGS_MT += -fno-strict-aliasing
+
+ win32 {
+ contains(QT_PRODUCT,qt-internal) {