diff options
| author | Ayke van Laethem <aykevanlaethem@gmail.com> | 2018-04-24 16:53:41 +0200 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-07-18 17:12:26 +1000 |
| commit | ab72b5b69c5c1f8d60a78dfa1e01767caf999236 (patch) | |
| tree | 347498990691f58aacb58c6fdd1bacbb1336833e | |
| parent | a6ae950b7575d5ecb9afcffea5ff33cde34d0f3b (diff) | |
nrf/Makefile: Use C11 instead of Gnu99.
Some constructs require C11 which GCC silently allows.
| -rw-r--r-- | ports/nrf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index 496727f77..f4220a37b 100644 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -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>' |
