texstudio/texstudio-wtf_flags.patch

32 lines
1.1 KiB
Diff

From fe2a4f3166a22e002bbf7fb80802bbf96111340a Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Fri, 14 Jan 2022 01:24:46 +0100
Subject: [PATCH 2/2] wtf
---
texstudio.pro | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
index 9c56c74..9a0a6bc 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -443,12 +443,12 @@ 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 -Wno-deprecated-declarations
+# QMAKE_CXXFLAGS_DEBUG -= -O -O1 -O2 -O3
+# QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0 -Wno-deprecated-declarations
QMAKE_CXXFLAGS += -fno-omit-frame-pointer
win32: QMAKE_CXXFLAGS += -fpermissive
- !win32:!haiku: QMAKE_LFLAGS += -rdynamic # option not supported by mingw and haiku
+# !win32:!haiku: QMAKE_LFLAGS += -rdynamic # option not supported by mingw and haiku
} else {
DEFINES += _CRT_SECURE_NO_WARNINGS
}
--
2.34.1