Skip to content
Snippets Groups Projects
Commit 192e79b1 authored by Vincent Dupont's avatar Vincent Dupont
Browse files

cpu/msp430: use gnu99 by default

parent 99e75948
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,11 @@
export TARGET_ARCH ?= msp430
# define build specific options
CFLAGS_CPU = -mmcu=$(CPU_MODEL) -std=gnu99
CFLAGS_CPU = -mmcu=$(CPU_MODEL)
# default std set to gnu99 of not overwritten by user
ifeq (, $(filter -std=%, $(CFLAGS)))
export CFLAGS += -std=gnu99
endif
CFLAGS_LINK = -ffunction-sections -fdata-sections
CFLAGS_DBG ?= -gdwarf-2
CFLAGS_OPT ?= -Os
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment