mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Fixed concurrent access to HashMap when programming Mega2560
This commit is contained in:
@ -654,8 +654,8 @@ public class Compiler implements MessageConsumer {
|
|||||||
objectFileList = objectFileList.substring(1);
|
objectFileList = objectFileList.substring(1);
|
||||||
|
|
||||||
PreferencesMap dict = new PreferencesMap(prefs);
|
PreferencesMap dict = new PreferencesMap(prefs);
|
||||||
dict.put("compiler.c.elf.flags", dict
|
String flags = dict.get("compiler.c.elf.flags") + optRelax;
|
||||||
.get("compiler.c.elf.flags" + optRelax));
|
dict.put("compiler.c.elf.flags", flags);
|
||||||
dict.put("archive_file", "core.a");
|
dict.put("archive_file", "core.a");
|
||||||
dict.put("object_files", objectFileList);
|
dict.put("object_files", objectFileList);
|
||||||
dict.put("ide_version", "" + Base.REVISION);
|
dict.put("ide_version", "" + Base.REVISION);
|
||||||
|
Reference in New Issue
Block a user