From 8f283b3989afb74424844f147851edab3d0d543f Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Wed, 19 Jan 2011 07:30:31 +0000 Subject: [PATCH] Bugfix --- cpu/msp430/Makefile.msp430 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/msp430/Makefile.msp430 b/cpu/msp430/Makefile.msp430 index 8b7988e8d..599a7cf01 100644 --- a/cpu/msp430/Makefile.msp430 +++ b/cpu/msp430/Makefile.msp430 @@ -1,4 +1,4 @@ -# $Id: Makefile.msp430,v 1.34 2011/01/19 07:24:37 adamdunkels Exp $ +# $Id: Makefile.msp430,v 1.35 2011/01/19 07:30:31 adamdunkels Exp $ ifdef nodeid CFLAGS += -DNODEID=$(nodeid) @@ -42,7 +42,7 @@ LDFLAGS += -mmcu=$(MCU) -Wl,-Map=contiki-$(TARGET).map ### These flags can reduce the code size and RAM usage with up to 10% -if SMALL +ifdef SMALL CFLAGS += -ffunction-sections LDFLAGS += -Wl,--gc-sections,--undefined=_reset_vector__,--undefined=InterruptVectors,--undefined=_copy_data_init__,--undefined=_clear_bss_init__,--undefined=_end_of_init__ endif # SMALL