nrf/Makefile: Use C11 instead of Gnu99.

Some constructs require C11 which GCC silently allows.
This commit is contained in:
Ayke van Laethem 2018-04-24 16:53:41 +02:00 committed by Damien George
parent a6ae950b75
commit ab72b5b69c

View File

@ -100,7 +100,7 @@ endif
CFLAGS += $(CFLAGS_MCU_$(MCU_SERIES))
CFLAGS += $(INC) -Wall -Werror -g -ansi -std=gnu99 -nostdlib $(COPT) $(NRF_DEFINES) $(CFLAGS_MOD)
CFLAGS += $(INC) -Wall -Werror -g -ansi -std=c11 -nostdlib $(COPT) $(NRF_DEFINES) $(CFLAGS_MOD)
CFLAGS += -fno-strict-aliasing
CFLAGS += -Iboards/$(BOARD)
CFLAGS += -DNRF5_HAL_H='<$(MCU_VARIANT)_hal.h>'