summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ae1325fb9..9aee14789 100644
--- a/Makefile
+++ b/Makefile
@@ -150,6 +150,9 @@ VQ=@
# Override this only if the host compiler is called something different
BUILD_CC := cc
+BUILD_CFLAGS = -g -W -Wall -Wundef -Wpointer-arith -Wcast-align \
+ -Wwrite-strings -Wmissing-declarations -Wuninitialized \
+ -Wno-unused-parameter
ifeq ($(TARGET),riscos)
ifeq ($(HOST),riscos)