Added C99 support to CFLAGS. It's been 13 years now...

This commit is contained in:
Jared Boone
2012-06-13 17:53:57 -07:00
parent 02f61f4d64
commit d99533d112

View File

@ -45,8 +45,8 @@ OBJDUMP = $(PREFIX)-objdump
GDB = $(PREFIX)-gdb
TOOLCHAIN_DIR := $(shell dirname `which $(CC)`)/../$(PREFIX)
CFLAGS += -O2 -g3 -Wall -Wextra -I$(LIBOPENCM3)/include -I../common \
-fno-common -mcpu=cortex-m4 -mthumb -MD \
CFLAGS += -std=c99 -O2 -g3 -Wall -Wextra -I$(LIBOPENCM3)/include -I../common \
-mfloat-abi=hard -mfpu=fpv4-sp-d16 \
$(HACKRF_OPTS)
#LDSCRIPT ?= $(BINARY).ld