texstudio/texstudio-wtf_flags.patch

41 lines
1.2 KiB
Diff
Raw Normal View History

2021-01-02 09:50:22 +00:00
From 6860e474606f324e39bbf32422305cbed71c07ec Mon Sep 17 00:00:00 2001
2019-06-07 15:53:30 +00:00
From: hannes <hannes@fedoraproject.org>
2021-01-02 09:50:22 +00:00
Date: Sat, 2 Jan 2021 09:35:36 +0100
Subject: [PATCH 3/3] wtf_flags
2019-06-07 15:53:30 +00:00
---
2021-01-02 09:50:22 +00:00
texstudio.pro | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
2019-06-07 15:53:30 +00:00
diff --git a/texstudio.pro b/texstudio.pro
2021-01-02 09:50:22 +00:00
index a353278..766660a 100644
2019-06-07 15:53:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2021-01-02 09:50:22 +00:00
@@ -428,16 +428,15 @@ 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-01-02 09:50:22 +00:00
+ # 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
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
- 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
--
2021-01-02 09:50:22 +00:00
2.29.2
2018-02-11 06:54:33 +00:00