summaryrefslogtreecommitdiff
path: root/extra/qt5-base/qtbase-no-ltcg-broken.patch
blob: 231b0103044ddd07eeff290c255e7c3733bc6176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -rauN qtbase-5.15.2/mkspecs/common/gcc-base.conf qtbase-5.15.2--no-ltcg-broken-patch/mkspecs/common/gcc-base.conf
--- qtbase-5.15.2/mkspecs/common/gcc-base.conf	2022-02-25 09:58:02.608162266 +0100
+++ qtbase-5.15.2--no-ltcg-broken-patch/mkspecs/common/gcc-base.conf	2022-02-25 10:06:31.605250485 +0100
@@ -54,8 +54,8 @@
 QMAKE_CFLAGS_HIDESYMS      += -fvisibility=hidden
 QMAKE_CFLAGS_EXCEPTIONS_OFF += -fno-exceptions
 QMAKE_CFLAGS_SPLIT_SECTIONS += -ffunction-sections -fdata-sections
-QMAKE_CFLAGS_LTCG           = -flto -fno-fat-lto-objects
-QMAKE_CFLAGS_LTCG_FATOBJECTS = -ffat-lto-objects
+QMAKE_CFLAGS_LTCG           =
+QMAKE_CFLAGS_LTCG_FATOBJECTS =
 QMAKE_CFLAGS_DISABLE_LTCG   = -fno-lto
 QMAKE_CFLAGS_SHSTK          = -mshstk
 
@@ -88,7 +88,7 @@
 QMAKE_LFLAGS_RELEASE   +=
 QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO +=
 QMAKE_LFLAGS_EXCEPTIONS_OFF +=
-QMAKE_LFLAGS_LTCG       = $$QMAKE_CFLAGS_LTCG -fuse-linker-plugin
+QMAKE_LFLAGS_LTCG       = $$QMAKE_CFLAGS_LTCG
 
 QMAKE_CFLAGS_C99       = -std=c99
 QMAKE_CFLAGS_C11       = -std=c11