From 6860e474606f324e39bbf32422305cbed71c07ec Mon Sep 17 00:00:00 2001 From: hannes Date: Sat, 2 Jan 2021 09:35:36 +0100 Subject: [PATCH 3/3] wtf_flags --- texstudio.pro | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/texstudio.pro b/texstudio.pro index a353278..766660a 100644 --- a/texstudio.pro +++ b/texstudio.pro @@ -428,16 +428,15 @@ 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 += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0 QMAKE_CXXFLAGS += -std=c++11 !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 - 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 } -- 2.29.2