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

Add "runtime." prefix to "build_properties_custom.*" preferences

This commit is contained in:
Sandeep Mistry 2016-04-13 09:03:03 -04:00
parent 9c741885e0
commit c99ab12446
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ public class Compiler implements MessageConsumer {
commandLine.addArgument("-warnings=" + PreferencesData.get("compiler.warning_level"), false);
PreferencesData.getMap()
.subTree("build_properties_custom")
.subTree("runtime.build_properties_custom")
.entrySet()
.stream()
.forEach(kv -> commandLine.addArgument("-prefs=\"" + kv.getKey() + "=" + kv.getValue() + "\"", false));

View File

@ -277,7 +277,7 @@ public class CommandlineParser {
BaseNoGui.showError(null, I18n.format(tr("{0}: Invalid argument to --pref, should be of the form \"pref=value\""), arg), 3);
PreferencesData.set(split[0], split[1]);
PreferencesData.set("build_properties_custom." + split[0], split[1]);
PreferencesData.set("runtime.build_properties_custom." + split[0], split[1]);
}
public boolean isDoVerboseBuild() {