Skip to content

Commit 3df1008

Browse files
committed
Use -MD instead of -MMD
1 parent ed98810 commit 3df1008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Build/Command.compile(ClangModule).swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ extension Command {
7878
let basicArgs = module.basicArgs + module.includeFlagsWithExternalModules(externalModules) + module.optimizationFlags(conf)
7979
for path in module.sources.compilePathsForBuildDir(wd) {
8080
var args = basicArgs
81-
args += ["-MMD", "-MT", "dependencies", "-MF", path.deps]
81+
args += ["-MD", "-MT", "dependencies", "-MF", path.deps]
8282
args += ["-c", path.source, "-o", path.object]
8383

8484
let node = "<\(module.name).\(path.filename)>"

0 commit comments

Comments
 (0)