Permalink
Browse files

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

  • Loading branch information...
1 parent b8e6400 commit 780dea11866ff5012f5e7f6427bd4cba16e85d06 @triffid committed Feb 21, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Makefile
View
@@ -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})

0 comments on commit 780dea1

Please sign in to comment.