summaryrefslogtreecommitdiffstats
path: root/SOURCE/qt-5.12.3-linux-static-gcc-libs.patch
blob: c9d180665ca293e074b3a1d098527064f72b242c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- qt-everywhere-src-5.12.3.orig/qtbase/mkspecs/common/linux.conf	2019-04-09 11:51:26.000000000 +0200
+++ qt-everywhere-src-5.12.3/qtbase/mkspecs/common/linux.conf	2019-06-06 22:21:23.860933853 +0200
@@ -8,6 +8,8 @@
 
 QMAKE_CFLAGS_THREAD    += -D_REENTRANT
 QMAKE_CXXFLAGS_THREAD  += $$QMAKE_CFLAGS_THREAD
+
+QMAKE_LFLAGS            += -static-libgcc -static-libstdc++
 QMAKE_LFLAGS_GCSECTIONS = -Wl,--gc-sections
 
 QMAKE_LFLAGS_REL_RPATH  = -Wl,-z,origin