texstudio/texstudio-wtf_flags.patch

20 lines
1.1 KiB
Diff
Raw Normal View History

diff -up texstudio2.11.2/texstudio.pro.wtf texstudio2.11.2/texstudio.pro
--- texstudio2.11.2/texstudio.pro.wtf 2016-12-08 10:17:52.533768367 -0600
+++ texstudio2.11.2/texstudio.pro 2016-12-08 10:32:54.422599376 -0600
@@ -613,9 +613,9 @@ exists(./.hg2) | exists(./.hg) {
#QMAKE_CXXFLAGS_DEBUG += -Werror -Wall -Wextra -Winit-self -Wmain -Wmissing-include-dirs -Wtrigraphs -Wunused -Wunknown-pragmas -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Wclobbered -Wempty-body -Wsign-compare -Waddress -Wlogical-op -Winline
QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Winit-self -Wmissing-include-dirs -Wtrigraphs -Wunused -Wunknown-pragmas -Wundef -Wpointer-arith -Wwrite-strings -Wempty-body -Wsign-compare -Waddress -Winline
-!win32: QMAKE_LFLAGS += -rdynamic # option not supported by mingw
-else {
- QMAKE_CXXFLAGS += -gstabs -g
- QMAKE_LFLAGS -= -Wl,-s
- QMAKE_LFLAGS_RELEASE -= -Wl,-s
-}
+#!win32: QMAKE_LFLAGS += -rdynamic # option not supported by mingw
+#else {
+# QMAKE_CXXFLAGS += -gstabs -g
+# QMAKE_LFLAGS -= -Wl,-s
+# QMAKE_LFLAGS_RELEASE -= -Wl,-s
+#}