texstudio/texstudio-wtf_flags.patch
2021-09-27 07:50:13 +02:00

46 lines
1.4 KiB
Diff

From c2904af9565f2e23c758923eea250b88c468d15c Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Sun, 26 Sep 2021 07:48:15 +0200
Subject: [PATCH 2/2] wtf
---
texstudio.pro | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
index c59894e..dc2734f 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -440,19 +440,19 @@ exists(./.git) {
}
!win32-msvc*: {
- QMAKE_CXXFLAGS_DEBUG -= -O -O1 -O2 -O3
- QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0
+# QMAKE_CXXFLAGS_DEBUG -= -O -O1 -O2 -O3
+# QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0
QMAKE_CXXFLAGS += -fno-omit-frame-pointer
!isEmpty(MXE): QMAKE_CXXFLAGS += -fpermissive
- !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
- }
- }
+ # !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
+ # }
+ # }
} else {
DEFINES += _CRT_SECURE_NO_WARNINGS
}
--
2.31.1