2021-05-20 16:39:24 +00:00
|
|
|
From 790f4430c0347a1ca51aabc8ad2566a761a0f91a Mon Sep 17 00:00:00 2001
|
2019-06-07 15:53:30 +00:00
|
|
|
From: hannes <hannes@fedoraproject.org>
|
2021-05-20 16:39:24 +00:00
|
|
|
Date: Thu, 20 May 2021 18:31:19 +0200
|
|
|
|
Subject: [PATCH 2/2] wtf
|
2019-06-07 15:53:30 +00:00
|
|
|
|
|
|
|
---
|
2021-05-20 16:39:24 +00:00
|
|
|
texstudio.pro | 19 +++++++++----------
|
|
|
|
1 file changed, 9 insertions(+), 10 deletions(-)
|
2019-06-07 15:53:30 +00:00
|
|
|
|
|
|
|
diff --git a/texstudio.pro b/texstudio.pro
|
2021-05-20 16:39:24 +00:00
|
|
|
index e499cfd..1656c8c 100644
|
2019-06-07 15:53:30 +00:00
|
|
|
--- a/texstudio.pro
|
|
|
|
+++ b/texstudio.pro
|
2021-05-20 16:39:24 +00:00
|
|
|
@@ -438,18 +438,17 @@ 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-05-20 16:39:24 +00:00
|
|
|
+# QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11 -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
|
|
|
|
+ # }
|
|
|
|
+ # }
|
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
|
2018-02-11 06:54:33 +00:00
|
|
|
|