From 61b6525c0bfa63783fe0469eb56a96d100af97d3 Mon Sep 17 00:00:00 2001 From: Zach Anderson Date: Mon, 22 May 2017 11:34:31 -0700 Subject: [PATCH] [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 . --- build/toolchain/mac/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn index c26364fdac7..307b7504820 100644 --- a/build/toolchain/mac/BUILD.gn +++ b/build/toolchain/mac/BUILD.gn @@ -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" }