Skip to content

Commit a432e26

Browse files
committed
Merge pull request arduino#1814 from HeMan/master
Update for newer avr-gcc. (solves arduino#1807)
2 parents 711fe3d + 2fb3770 commit a432e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/debug/Compiler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ static private List getCommandCompilerS(String avrBasePath, List includePaths,
547547
avrBasePath + "avr-gcc",
548548
"-c", // compile, don't link
549549
"-g", // include debugging info (so errors include line numbers)
550-
"-assembler-with-cpp",
550+
"-x","assembler-with-cpp",
551551
"-mmcu=" + boardPreferences.get("build.mcu"),
552552
"-DF_CPU=" + boardPreferences.get("build.f_cpu"),
553553
"-DARDUINO=" + Base.REVISION,

0 commit comments

Comments
 (0)