Skip to content

Commit 0479046

Browse files
committed
Use CC instead of Toolchain.clang
1 parent 0d85f09 commit 0479046

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
@@ -84,7 +84,7 @@ extension Command {
8484
let clang = ClangTool(desc: "Compiling \(module.name) \(path.filename)",
8585
inputs: dependencies + [path.source, mkdir.node],
8686
outputs: [path.object],
87-
args: args,
87+
args: [CC] + args,
8888
deps: path.deps)
8989

9090
let command = Command(node: path.object, tool: clang)

0 commit comments

Comments
 (0)