avr-libc's math is smaller than gcc's, use it

This commit is contained in:
Michael Moon 2011-02-21 19:09:08 +11:00
parent b8e6400a2d
commit 780dea1186
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ OPTIMIZE = -Os -ffunction-sections -finline-functions-called-once -mcall-prologu
# OPTIMIZE = -O0
CFLAGS = -g -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -save-temps
LDFLAGS = -Wl,--as-needed -Wl,--gc-sections
LIBS = -lm
OBJ = $(patsubst %.c,%.o,${SOURCES})