summaryrefslogtreecommitdiff
path: root/libraries/qt4/patches/qt.x86.cflags.diff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:42:09 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:42:09 +0200
commite6840b4ba85dae992ad1eb29ce02071f5da7360d (patch)
treeda4a679ceb26d67ba177d5fcf46990e545544f4f /libraries/qt4/patches/qt.x86.cflags.diff
parent2bd62a324d63c5169b8b9528f818ac6cef72a8cf (diff)
downloadslackbuilds-e6840b4ba85dae992ad1eb29ce02071f5da7360d.tar.gz
libraries/qt4: Updated for version 4.5.1
Diffstat (limited to 'libraries/qt4/patches/qt.x86.cflags.diff')
-rw-r--r--libraries/qt4/patches/qt.x86.cflags.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/qt4/patches/qt.x86.cflags.diff b/libraries/qt4/patches/qt.x86.cflags.diff
new file mode 100644
index 0000000000..a9e65fbb84
--- /dev/null
+++ b/libraries/qt4/patches/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