texstudio/texstudio-wtf_flags.patch

40 lines
1.2 KiB
Diff
Raw Normal View History

2019-12-26 10:58:53 +00:00
From 49be56617e3a720a0c93d1c8ff13f3c4dbd89471 Mon Sep 17 00:00:00 2001
2019-06-07 15:53:30 +00:00
From: hannes <hannes@fedoraproject.org>
2019-12-26 10:58:53 +00:00
Date: Thu, 26 Dec 2019 11:46:48 +0100
Subject: [PATCH 2/2] debughelper
2019-06-07 15:53:30 +00:00
---
texstudio.pro | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
2020-08-25 19:36:32 +00:00
index b23f7e6..77b0397 100644
2019-06-07 15:53:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2020-08-25 19:36:32 +00:00
@@ -414,15 +414,14 @@ exists(./.git) {
}
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
+# QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0
2020-08-25 19:36:32 +00:00
QMAKE_CXXFLAGS += -std=c++11
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
- 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
+# QMAKE_LFLAGS_RELEASE -= -Wl,-s
+# }
} else {
DEFINES += _CRT_SECURE_NO_WARNINGS
}
2018-02-11 06:54:33 +00:00
--
2019-12-26 10:58:53 +00:00
2.24.1
2018-02-11 06:54:33 +00:00