From e106d8fd8cdd935cc0884ed8cb9aca70ca75e370 Mon Sep 17 00:00:00 2001 From: Greg Kaiser Date: Mon, 9 Sep 2019 09:52:50 -0700 Subject: strip.sh: Fix argument to llvm-strip We had a typo in the original checkin. We need two hypens before "remove-section" for llvm-strip, just like we have for strip. Bug: 140721128 Test: Clean build of Go device Change-Id: Ifb83dc4e6ad8f8070d9ced678f9147d6a040aee7 --- scripts/strip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/strip.sh b/scripts/strip.sh index 4a1ed3f0..abf997b8 100755 --- a/scripts/strip.sh +++ b/scripts/strip.sh @@ -140,7 +140,7 @@ do_add_gnu_debuglink() { do_remove_build_id() { if [ -z "${use_gnu_strip}" ]; then - "${CLANG_BIN}/llvm-strip" -remove-section=.note.gnu.build-id "${outfile}.tmp" -o "${outfile}.tmp.no-build-id" + "${CLANG_BIN}/llvm-strip" --remove-section=.note.gnu.build-id "${outfile}.tmp" -o "${outfile}.tmp.no-build-id" else "${CROSS_COMPILE}strip" --remove-section=.note.gnu.build-id "${outfile}.tmp" -o "${outfile}.tmp.no-build-id" fi -- cgit v1.2.3