aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-06-25 11:50:52 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2011-06-25 11:50:52 -0400
commitb0d0987dd9ebc7da3d06e4367ab22fc3c41c4914 (patch)
treee8e6b29aa95b4faed67916d6a53d08e9b369839f
parentadcd53451b48d7058fd8037250c3033a8c38b97d (diff)
Fixing linker command line argument.
-rwxr-xr-xplatforms.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms.txt b/platforms.txt
index d946b82..ae495d5 100755
--- a/platforms.txt
+++ b/platforms.txt
@@ -43,7 +43,7 @@ avr.name=Arduino
#avr.compiler.path={0}/hardware/tools/avr/bin/
avr.compiler.c.cmd=avr-gcc
avr.compiler.c.flags=|-c|-g|-Os|-w|-ffunction-sections|-fdata-sections
-avr.compiler.c.elf.flags=|-Os|-Wl|--gc-sections
+avr.compiler.c.elf.flags=|-Os|-Wl,--gc-sections
avr.compiler.c.elf.cmd=avr-gcc
avr.compiler.S.flags=|-c|-g|-assembler-with-cpp
avr.compiler.cpp.cmd=avr-g++