| Index: build/toolchain/mac/BUILD.gn
|
| diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn
|
| index b0c233a19a43f6ee20e7abb9007a845825674fdc..009c701de31e524d3b3c76b420e03572b780ab3d 100644
|
| --- a/build/toolchain/mac/BUILD.gn
|
| +++ b/build/toolchain/mac/BUILD.gn
|
| @@ -83,9 +83,8 @@ template("mac_toolchain") {
|
|
|
| tool("objc") {
|
| depfile = "{{output}}.d"
|
| - command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_objc}} -c {{source}} -o {{output}}"
|
| precompiled_header_type = "gcc"
|
| - command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} {{cflags_objc}} -c {{source}} -o {{output}}"
|
| + command = "$cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_objc}} -c {{source}} -o {{output}}"
|
| depsformat = "gcc"
|
| description = "OBJC {{output}}"
|
| outputs = [
|
| @@ -95,8 +94,8 @@ template("mac_toolchain") {
|
|
|
| tool("objcxx") {
|
| depfile = "{{output}}.d"
|
| - command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_objcc}} -c {{source}} -o {{output}}"
|
| precompiled_header_type = "gcc"
|
| + command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_objcc}} -c {{source}} -o {{output}}"
|
| depsformat = "gcc"
|
| description = "OBJCXX {{output}}"
|
| outputs = [
|
|
|