summaryrefslogtreecommitdiff
path: root/digital/beacon/src
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-16 17:11:28 +0200
committerFlorent Duchon2012-05-16 17:43:09 +0200
commita91be193785c1675d30e1ecae4315ae903dd4857 (patch)
tree4ef8bda998ba27cd3710cbeedbf9987df8ab9118 /digital/beacon/src
parentcdd38c405ab09b07ba6d65f5296639ac542f08cd (diff)
digital/beacon: add -lm to the link command
Diffstat (limited to 'digital/beacon/src')
-rw-r--r--digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc b/digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc
index 3f770992..5c46bb6e 100644
--- a/digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc
+++ b/digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc
@@ -115,7 +115,7 @@ All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc/Obj/twi_hard.avr.o: CFLAGS=$(APB_CFLAGS)
$(EXE_PATH)/$(APP_NAME).elf: $(OBJS)
- $(LD) $(LINKER_FLAGS) $(OBJS) -Wl,-\( $(LIBS) -Wl,-\) -o $@
+ $(LD) $(LINKER_FLAGS) $(OBJS) -lm -Wl,-\( $(LIBS) -Wl,-\) -o $@
$(EXE_PATH)/$(APP_NAME).srec: $(EXE_PATH)/$(APP_NAME).elf
$(OBJCOPY) -O srec --srec-len 128 $^ $@