Skip to content

Commit a6646ca

Browse files
committed
fixed an issue, -Wl,--gc-sections needed to have a comma.
1 parent dacfa86 commit a6646ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/processing/app/debug/Target.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public Target(String name, File folder) {
8282
} catch (Exception e) {
8383
System.err.println("Error loading platforms from " +
8484
platformsFile + ": " + e);
85-
System.exit(0);
85+
//System.exit(0);
8686

8787
}
8888

hardware/arduino/platforms.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ avr.name=Arduino
4343
#avr.compiler.path={0}/hardware/tools/avr/bin/
4444
avr.compiler.c.cmd=avr-gcc
4545
avr.compiler.c.flags=|-c|-g|-Os|-w|-ffunction-sections|-fdata-sections
46-
avr.compiler.c.elf.flags=|-Os|-Wl|--gc-sections
46+
avr.compiler.c.elf.flags=|-Os|-Wl,--gc-sections
4747
avr.compiler.c.elf.cmd=avr-gcc
4848
avr.compiler.S.flags=|-c|-g|-assembler-with-cpp
4949
avr.compiler.cpp.cmd=avr-g++

0 commit comments

Comments
 (0)