static public List<String> getLinkerFlags() {
    List<String> result = new ArrayList<String>(Arrays.asList(new String[]{
                                                                          "-Os",
                                                                          "-Wl,--gc-sections",
                                                                          "-mmcu=" + Preferences.get("boards." + Preferences.get("board") + ".build.mcu")}));
    String additionalFlagString = Preferences.get("boards." + Preferences.get("board") + ".build.flags");
    if (additionalFlagString != null && !additionalFlagString.equals("")) {
      String additionalFlags[] = additionalFlagString.split("\\s+");
      if (additionalFlags.length > 0) {
        result.addAll(Arrays.asList(additionalFlags));
      }
    }

    additionalFlagString = Preferences.get("boards." + Preferences.get("board") + ".build.linkflags");
    if (additionalFlagString != null && !additionalFlagString.equals("")) {
      String additionalFlags[] = additionalFlagString.split("\\s+");
      if (additionalFlags.length > 0) {
        result.addAll(Arrays.asList(additionalFlags));
      }
    }

    return result;
  }