Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a2d3e8c89..f26c1f962 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ OS = linux CC = gcc -CFLAGS = -O2 -finline-functions -fno-strict-aliasing -g +CFLAGS = -O2 -finline-functions -g CFLAGS += -Wall -Wwrite-strings LD = gcc AR = ar @@ -79,6 +79,11 @@ INST_MAN1=sparse.1 cgcc.1 all: +######################################################################## +# common flags/options/... + +cflags = -fno-strict-aliasing + GCC_BASE := $(shell $(CC) --print-file-name=) cflags += -DGCC_BASE=\"$(GCC_BASE)\" -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html