aboutsummaryrefslogtreecommitdiffstats
path: root/main/qt/gcc-6.2.1-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/qt/gcc-6.2.1-workaround.patch')
-rw-r--r--main/qt/gcc-6.2.1-workaround.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/qt/gcc-6.2.1-workaround.patch b/main/qt/gcc-6.2.1-workaround.patch
new file mode 100644
index 0000000000..b3ec25c90b
--- /dev/null
+++ b/main/qt/gcc-6.2.1-workaround.patch
@@ -0,0 +1,15 @@
+This is a workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78004
+
+diff --git a/src/declarative/declarative.pro b/src/declarative/declarative.pro
+index 5bf4e01..d1c56ae 100644
+--- a/src/declarative/declarative.pro
++++ b/src/declarative/declarative.pro
+@@ -4,7 +4,7 @@ QT = core gui script network
+ contains(QT_CONFIG, svg): QT += svg
+ DEFINES += QT_BUILD_DECLARATIVE_LIB QT_NO_URL_CAST_FROM_STRING
+ win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000
+-solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
++QMAKE_CXXFLAGS_RELEASE -= -O2
+
+ unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
+