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
This commit is contained in:
Greg Kaiser
2019-09-09 09:52:50 -07:00
parent 95515641e7
commit e106d8fd8c

View File

@@ -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