aboutsummaryrefslogtreecommitdiff
path: root/libraries/libqsqlpsql/qt.x86.cflags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libqsqlpsql/qt.x86.cflags.diff')
-rw-r--r--libraries/libqsqlpsql/qt.x86.cflags.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/libqsqlpsql/qt.x86.cflags.diff b/libraries/libqsqlpsql/qt.x86.cflags.diff
new file mode 100644
index 000000000000..a9e65fbb84e0
--- /dev/null
+++ b/libraries/libqsqlpsql/qt.x86.cflags.diff
@@ -0,0 +1,11 @@
+--- qt.orig/mkspecs/common/g++.conf 2007-12-22 00:22:18.295453075 -0600
++++ qt/mkspecs/common/g++.conf 2007-12-22 00:23:07.514257895 -0600
+@@ -7,7 +7,7 @@
+ QMAKE_CFLAGS_DEPS += -M
+ QMAKE_CFLAGS_WARN_ON += -Wall -W
+ QMAKE_CFLAGS_WARN_OFF += -w
+-QMAKE_CFLAGS_RELEASE += -O2
++QMAKE_CFLAGS_RELEASE += -O2 -march=i486 -mtune=i686
+ QMAKE_CFLAGS_DEBUG += -g
+ QMAKE_CFLAGS_SHLIB += -fPIC
+ QMAKE_CFLAGS_STATIC_LIB += -fPIC