Skip to content

Commit 740aecf

Browse files
committed
Revert "Add macro -DARDUINO_LIB_DISCOVERY_PHASE during lib discovery phase (arduino#633)"
This reverts commit 985b2c9.
1 parent a2f63fb commit 740aecf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: legacy/builder/gcc_preproc_runner.go

-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ func prepareGCCPreprocRecipeProperties(ctx *types.Context, sourceFilePath *paths
7777
// to create a /dev/null.d dependency file, which won't work.
7878
cmd.Args = utils.Filter(cmd.Args, func(a string) bool { return a != "-MMD" })
7979

80-
cmd.Args = append(cmd.Args, "-DARDUINO_LIB_DISCOVERY_PHASE")
81-
8280
return cmd, nil
8381
}
8482

0 commit comments

Comments
 (0)