diff options
| author | Damien George <damien.p.george@gmail.com> | 2017-03-23 15:41:38 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2017-03-23 15:41:38 +1100 |
| commit | 92cd0008428d5db6e8cf3ae531cdb24acdfb68e1 (patch) | |
| tree | 8e3e663544af812c87794912d6be5001f854f188 /minimal/Makefile | |
| parent | 4afa782fb415165aa6e7f9eea8532f0d2493f8ce (diff) | |
minimal/Makefile: Change C standard from gnu99 to c99.
Diffstat (limited to 'minimal/Makefile')
| -rw-r--r-- | minimal/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/minimal/Makefile b/minimal/Makefile index 42c2d5312..3b446beae 100644 --- a/minimal/Makefile +++ b/minimal/Makefile @@ -22,9 +22,9 @@ ifeq ($(CROSS), 1) DFU = ../tools/dfu.py PYDFU = ../tools/pydfu.py CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion -CFLAGS = $(INC) -Wall -Werror -std=gnu99 -nostdlib $(CFLAGS_CORTEX_M4) $(COPT) +CFLAGS = $(INC) -Wall -Werror -std=c99 -nostdlib $(CFLAGS_CORTEX_M4) $(COPT) else -CFLAGS = -m32 $(INC) -Wall -Werror -std=gnu99 $(COPT) +CFLAGS = -m32 $(INC) -Wall -Werror -std=c99 $(COPT) endif #Debugging/Optimization |
