[mac] Use the host platform's strip command

The strip command from the clang toolchain is mangling the binary somehow

Review-Url: https://codereview.chromium.org/2895853003 .
This commit is contained in:
Zach Anderson 2017-05-22 11:34:31 -07:00
parent 4b9485db73
commit 61b6525c0b

View file

@ -230,7 +230,7 @@ mac_toolchain("clang_x64") {
cc = "${goma_prefix}$prefix/clang"
cxx = "${goma_prefix}$prefix/clang++"
ld = cxx
strip = "${prefix}/strip"
strip = "strip"
is_clang = true
sysroot_flags = "-isysroot $mac_sdk_path -mmacosx-version-min=$mac_sdk_min"
}
@ -244,7 +244,7 @@ mac_toolchain("clang_x86") {
cc = "${goma_prefix}$prefix/clang"
cxx = "${goma_prefix}$prefix/clang++"
ld = cxx
strip = "${prefix}/strip"
strip = "strip"
is_clang = true
sysroot_flags = "-isysroot $mac_sdk_path -mmacosx-version-min=$mac_sdk_min"
}