Skip to content

Commit 2254d74

Browse files
Show stdout of preproc commands in verbose mode
This also happens with the normal compilation commands, so why not with these? Normally these commands should not output to stdout, so this doesn't make any difference, but it makes things more consistent. Signed-off-by: Matthijs Kooijman <[email protected]>
1 parent 0f1baa5 commit 2254d74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcc_preproc_runner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func GCCPreprocRunner(ctx *types.Context, sourceFilePath string, targetFilePath
5353

5454
verbose := ctx.Verbose
5555
logger := ctx.GetLogger()
56-
_, err = builder_utils.ExecRecipe(properties, constants.RECIPE_PREPROC_MACROS, true, verbose, false, logger)
56+
_, err = builder_utils.ExecRecipe(properties, constants.RECIPE_PREPROC_MACROS, true, verbose, verbose, logger)
5757
if err != nil {
5858
return i18n.WrapError(err)
5959
}
@@ -75,7 +75,7 @@ func GCCPreprocRunnerForDiscoveringIncludes(ctx *types.Context, sourceFilePath s
7575
properties[constants.RECIPE_PREPROC_MACROS] = GeneratePreprocPatternFromCompile(properties[constants.RECIPE_CPP_PATTERN])
7676
}
7777

78-
stderr, err := builder_utils.ExecRecipeCollectStdErr(properties, constants.RECIPE_PREPROC_MACROS, true, verbose, false, logger)
78+
stderr, err := builder_utils.ExecRecipeCollectStdErr(properties, constants.RECIPE_PREPROC_MACROS, true, verbose, verbose, logger)
7979
if err != nil {
8080
return "", i18n.WrapError(err)
8181
}

0 commit comments

Comments
 (0)