1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-20 14:54:31 +01:00

Fixed concurrent access to HashMap when programming Mega2560

This commit is contained in:
Cristian Maglie 2012-10-18 19:34:11 +02:00
parent 289b836046
commit e6d5255864

View File

@ -654,8 +654,8 @@ public class Compiler implements MessageConsumer {
objectFileList = objectFileList.substring(1);
PreferencesMap dict = new PreferencesMap(prefs);
dict.put("compiler.c.elf.flags", dict
.get("compiler.c.elf.flags" + optRelax));
String flags = dict.get("compiler.c.elf.flags") + optRelax;
dict.put("compiler.c.elf.flags", flags);
dict.put("archive_file", "core.a");
dict.put("object_files", objectFileList);
dict.put("ide_version", "" + Base.REVISION);