projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea2cba
)
a somewhat hidden option to allow warnings when debugging
author
Martin Taibr <taibr.martin@gmail.com>
Mon, 28 Aug 2017 15:03:09 +0000
(17:03 +0200)
committer
Martin Taibr <taibr.martin@gmail.com>
Mon, 28 Aug 2017 15:03:09 +0000
(17:03 +0200)
qcsrc/Makefile
patch
|
blob
|
history
diff --git
a/qcsrc/Makefile
b/qcsrc/Makefile
index bd17dad6aaf5e93c0c729891009cfedfa85ca258..2941f6320692a46f7932af0e163a741bb2d9c1e5 100644
(file)
--- a/
qcsrc/Makefile
+++ b/
qcsrc/Makefile
@@
-29,6
+29,10
@@
ifndef ZIP
endif
endif
+# Set to empty string to temporarily enable warnings when debugging
+QCCFLAGS_WERROR ?= \
+ -Werror
+
# We eventually need to get rid of these
QCCFLAGS_WTFS ?= \
-Wno-field-redeclared
@@
-48,7
+52,8
@@
QCCFLAGS ?= \
-std=gmqcc \
-Ooverlap-locals \
-O3 \
- -Werror -Wall \
+ $(QCCFLAGS_WERROR) \
+ -Wall \
$(QCCFLAGS_WTFS) \
-flno -futf8 -fno-bail-on-werror \
-frelaxed-switch -freturn-assignments \