Currently, these options are in the configurable part of CFLAGS, like '-O2' or '-g', but since they're just warnings they can be moved to the non-optional flags. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c0c2727b0..22201fd9d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,6 @@ OS = linux CC = gcc CFLAGS = -O2 -g -CFLAGS += -Wall -Wwrite-strings LD = $(CC) AR = ar PKG_CONFIG = pkg-config @@ -90,6 +89,7 @@ all: # common flags/options/... cflags = -fno-strict-aliasing +cflags += -Wall -Wwrite-strings GCC_BASE := $(shell $(CC) --print-file-name=) cflags += -DGCC_BASE=\"$(GCC_BASE)\" -- 2.20.0