Skip to content

Commit

Permalink
Revert "Add macro -DARDUINO_LIB_DISCOVERY_PHASE during lib discovery …
Browse files Browse the repository at this point in the history
…phase (arduino#633)"

This reverts commit 985b2c9.
  • Loading branch information
cmaglie committed Jul 17, 2020
1 parent a2f63fb commit 740aecf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions legacy/builder/gcc_preproc_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ func prepareGCCPreprocRecipeProperties(ctx *types.Context, sourceFilePath *paths
// to create a /dev/null.d dependency file, which won't work.
cmd.Args = utils.Filter(cmd.Args, func(a string) bool { return a != "-MMD" })

cmd.Args = append(cmd.Args, "-DARDUINO_LIB_DISCOVERY_PHASE")

return cmd, nil
}

Expand Down

0 comments on commit 740aecf

Please sign in to comment.