mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #3121 from gebart/pr/cortexm-minor-style-cflag-fixes
cortexm: minor CFLAGS changes
This commit is contained in:
commit
1d7440f57d
@ -9,9 +9,9 @@ include $(RIOTBOARD)/Makefile.include.gnu
|
||||
|
||||
# define build specific options
|
||||
export CFLAGS_CPU = -mcpu=$(MCPU) -mlittle-endian -mthumb -mno-thumb-interwork $(CFLAGS_FPU)
|
||||
export CFLAGS_STYLE = -std=gnu99 -Wall -Wstrict-prototypes
|
||||
export CFLAGS_STYLE = -std=gnu99 -Wall -Wstrict-prototypes -Werror=implicit-function-declaration
|
||||
export CFLAGS_LINK = -ffunction-sections -fdata-sections -fno-builtin
|
||||
export CFLAGS_DBG = -ggdb -g3
|
||||
export CFLAGS_DBG ?= -ggdb -g3
|
||||
export CFLAGS_OPT ?= -Os
|
||||
export CFLAGS += $(CFLAGS_CPU) $(CFLAGS_STYLE) $(CFLAGS_LINK) $(CFLAGS_DBG) $(CFLAGS_OPT)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user