Skip to content

Commit 7e46346

Browse files
author
jan
committed
fix the discovery regression missing includes #1672
1 parent bf4331c commit 7e46346

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

io.sloeber.core/src/io/sloeber/core/txt/WorkAround.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
public class WorkAround {
4646
// Each time this class is touched consider changing the String below to enforce
4747
// updates
48-
private static final String FIRST_SLOEBER_WORKAROUND_LINE = "#Sloeber created TXT file V3.00.test 28 ";
48+
private static final String FIRST_SLOEBER_WORKAROUND_LINE = "#Sloeber created TXT file V3.00.test 25 ";
4949

5050
private static Map<String, String> USB_replacers;
5151

@@ -351,9 +351,9 @@ private static String platformApplyStandardWorkArounds(String inPlatformTxt) {
351351
changed = changed + "{sloeber.extra.compile} {sloeber.extra.c.compile} {sloeber.extra.all}";
352352
String codan = changed.replace(RECIPE_C_to_O, RECIPE_C_O_CODAN);
353353
codan = codan.replace(" -o ", " ");
354-
codan = codan.replace(" {FLAGS} ", " ");
354+
//codan = codan.replace(" {FLAGS} ", " ");
355355
codan = codan.replace(" {OUTPUT} ", " ");
356-
codan = codan.replace(" {compiler.cpreprocessor.flags} ", " ");
356+
//codan = codan.replace(" {compiler.cpreprocessor.flags} ", " ");
357357
codan = codan.replace(" {INPUTS} ", DISCOVERY_PARAMETERS.replace("${", "{") + BLANK);
358358

359359
platformTXT = platformTXT.replace(origRecipe, changed + NEWLINE + codan);
@@ -368,9 +368,9 @@ private static String platformApplyStandardWorkArounds(String inPlatformTxt) {
368368
changed = changed + "{sloeber.extra.compile} {sloeber.extra.cpp.compile} {sloeber.extra.all}";
369369
String codan = changed.replace(RECIPE_CPP_to_O, RECIPE_CPP_O_CODAN);
370370
codan = codan.replace(" -o ", " ");
371-
codan = codan.replace(" {FLAGS} ", " ");
371+
//codan = codan.replace(" {FLAGS} ", " ");
372372
codan = codan.replace(" {OUTPUT} ", " ");
373-
codan = codan.replace(" {compiler.cpreprocessor.flags} ", " ");
373+
//codan = codan.replace(" {compiler.cpreprocessor.flags} ", " ");
374374
codan = codan.replace(" {INPUTS} ", DISCOVERY_PARAMETERS.replace("${", "{") + BLANK);
375375

376376
platformTXT = platformTXT.replace(origRecipe, changed + NEWLINE + codan);

0 commit comments

Comments
 (0)