summaryrefslogtreecommitdiffstats
path: root/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch
diff options
context:
space:
mode:
author B. Watson2022-01-24 22:45:06 +0100
committer Willy Sudiarto Raharjo2022-01-25 08:44:36 +0100
commited95dbc32bb571fe7021dfebf763e1425211103c (patch)
tree94e530cdea603177e959437d33491a0493527077 /libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch
parent599e1f6f578276d8eedeed8d6ed51217064d40fb (diff)
downloadslackbuilds-ed95dbc32bb571fe7021dfebf763e1425211103c.tar.gz
libraries/qt4: Added (legacy Qt version).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch')
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch
new file mode 100644
index 0000000000..7e79d2174b
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch
@@ -0,0 +1,13 @@
+diff -up qt-everywhere-opensource-src-4.8.7/src/script/script.pro.gcc8 qt-everywhere-opensource-src-4.8.7/src/script/script.pro
+--- qt-everywhere-opensource-src-4.8.7/src/script/script.pro.gcc8 2015-05-07 09:14:43.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/script/script.pro 2018-05-19 16:01:24.699926959 -0500
+@@ -91,6 +91,9 @@ symbian {
+ TARGET.UID3=0x2001B2E1
+ }
+
++# hack around gcc8 optimization bug with -O2
++QMAKE_CXXFLAGS_RELEASE += -O1
++
+ symbian {
+ symbian-abld|symbian-sbsv2 {
+ MMP_RULES += ALWAYS_BUILD_AS_ARM