Changed compile optimization flag to -Os from -O2. TitanMKD demonstrated conclusively that it's a good thing.

This commit is contained in:
Jared Boone
2012-10-10 16:27:05 -07:00
parent d5db378647
commit 3a9d7432c3

View File

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