From: Martin Mares Date: Tue, 16 Jul 2019 16:27:24 +0000 (+0200) Subject: Makefiles: gnu99, no silly parenthesis warning X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=dbc165c6e6745a859fc391b135f56856150a28d1;p=home-hw.git Makefiles: gnu99, no silly parenthesis warning --- diff --git a/mk/bluepill.mk b/mk/bluepill.mk index bce93a3..0ceab7d 100644 --- a/mk/bluepill.mk +++ b/mk/bluepill.mk @@ -56,12 +56,12 @@ OBJDUMP := $(PREFIX)-objdump GDB := $(PREFIX)-gdb OPT := -Os DEBUG := -ggdb3 -CSTD ?= -std=c99 +CSTD ?= -std=gnu99 TGT_CFLAGS += $(OPT) $(CSTD) $(DEBUG) TGT_CFLAGS += $(ARCH_FLAGS) TGT_CFLAGS += -Wall -Wextra -Wshadow -Wimplicit-function-declaration -TGT_CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes +TGT_CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes -Wno-parentheses TGT_CFLAGS += -fno-common -ffunction-sections -fdata-sections TGT_CFLAGS += -I. -I../lib