Makefile.cflags: Enable all warnings by default

This commit is contained in:
Joakim Gebart 2015-07-06 12:27:10 +02:00
parent f8a8e6994e
commit eb81139161

View File

@ -52,6 +52,9 @@ endif
# Forbid common symbols to prevent accidental aliasing. # Forbid common symbols to prevent accidental aliasing.
CFLAGS += -fno-common CFLAGS += -fno-common
# Enable all default warnings
CFLAGS += -Wall
# Default ARFLAGS for platforms which do not specify it. # Default ARFLAGS for platforms which do not specify it.
# Note: make by default provides ARFLAGS=rv which we want to override # Note: make by default provides ARFLAGS=rv which we want to override
ifeq ($(origin ARFLAGS),default) ifeq ($(origin ARFLAGS),default)