texstudio/texstudio-wtf_flags.patch

46 lines
1.4 KiB
Diff
Raw Normal View History

2021-09-27 05:50:13 +00:00
From c2904af9565f2e23c758923eea250b88c468d15c Mon Sep 17 00:00:00 2001
2019-06-07 15:53:30 +00:00
From: hannes <hannes@fedoraproject.org>
2021-09-27 05:50:13 +00:00
Date: Sun, 26 Sep 2021 07:48:15 +0200
2021-05-20 16:39:24 +00:00
Subject: [PATCH 2/2] wtf
2019-06-07 15:53:30 +00:00
---
2021-09-27 05:50:13 +00:00
texstudio.pro | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
2019-06-07 15:53:30 +00:00
diff --git a/texstudio.pro b/texstudio.pro
2021-09-27 05:50:13 +00:00
index c59894e..dc2734f 100644
2019-06-07 15:53:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2021-09-27 05:50:13 +00:00
@@ -440,19 +440,19 @@ exists(./.git) {
2020-08-25 19:36:32 +00:00
}
2019-12-26 10:58:53 +00:00
!win32-msvc*: {
2020-08-25 19:36:32 +00:00
- QMAKE_CXXFLAGS_DEBUG -= -O -O1 -O2 -O3
2019-12-26 10:58:53 +00:00
- QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0
2021-09-27 05:50:13 +00:00
+# QMAKE_CXXFLAGS_DEBUG -= -O -O1 -O2 -O3
2021-05-20 16:39:24 +00:00
+# QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0
2021-09-27 05:50:13 +00:00
QMAKE_CXXFLAGS += -fno-omit-frame-pointer
2021-01-02 09:50:22 +00:00
!isEmpty(MXE): QMAKE_CXXFLAGS += -fpermissive
2019-12-26 10:58:53 +00:00
- !win32:!haiku: QMAKE_LFLAGS += -rdynamic # option not supported by mingw and haiku
- else {
- QMAKE_CXXFLAGS += -gstabs -g
- QMAKE_LFLAGS -= -Wl,-s
2021-05-20 16:39:24 +00:00
- isEmpty(STRIP){
- QMAKE_LFLAGS_RELEASE -= -Wl,-s
- }
2019-12-26 10:58:53 +00:00
- }
2021-05-20 16:39:24 +00:00
+ # !win32:!haiku: QMAKE_LFLAGS += -rdynamic # option not supported by mingw and haiku
+ # else {
+ # QMAKE_CXXFLAGS += -gstabs -g
+ # QMAKE_LFLAGS -= -Wl,-s
+ # isEmpty(STRIP){
+ # QMAKE_LFLAGS_RELEASE -= -Wl,-s
2021-09-27 05:50:13 +00:00
+ # }
2021-05-20 16:39:24 +00:00
+ # }
2019-12-26 10:58:53 +00:00
} else {
DEFINES += _CRT_SECURE_NO_WARNINGS
}
2018-02-11 06:54:33 +00:00
--
2021-05-20 16:39:24 +00:00
2.31.1