diff options
| author | 2019-07-19 10:22:25 -0700 | |
|---|---|---|
| committer | 2019-07-19 10:22:25 -0700 | |
| commit | 45e90ad98cee85063eb2086379bb45ac80f07a92 (patch) | |
| tree | 8a90cc8a22bf89e4059231ec4f5bcf52ee741939 | |
| parent | af3b9400417c22e2c0b1046d5309a315f62cba61 (diff) | |
| parent | e6d0f62ce08c3776c8c3742f582b65b7927105eb (diff) | |
Merge "Use double dashes before llvm-strip arguments"
am: e6d0f62ce0
Change-Id: I2047fb1bbd971f672434332da4e7abf3e9adfb3e
| -rwxr-xr-x | scripts/strip.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/strip.sh b/scripts/strip.sh index bd62619b2..4a1ed3f0e 100755 --- a/scripts/strip.sh +++ b/scripts/strip.sh @@ -59,7 +59,7 @@ do_strip() { # ${CROSS_COMPILE}strip --strip-all does not strip .ARM.attributes, # so we tell llvm-strip to keep it too. if [ -z "${use_gnu_strip}" ]; then - "${CLANG_BIN}/llvm-strip" --strip-all -keep-section=.ARM.attributes "${infile}" -o "${outfile}.tmp" + "${CLANG_BIN}/llvm-strip" --strip-all --keep-section=.ARM.attributes "${infile}" -o "${outfile}.tmp" else "${CROSS_COMPILE}strip" --strip-all "${infile}" -o "${outfile}.tmp" fi @@ -101,7 +101,7 @@ do_strip_keep_mini_debug_info() { rm -f "${outfile}.dynsyms" "${outfile}.funcsyms" "${outfile}.keep_symbols" "${outfile}.debug" "${outfile}.mini_debuginfo" "${outfile}.mini_debuginfo.xz" local fail= if [ -z "${use_gnu_strip}" ]; then - "${CLANG_BIN}/llvm-strip" --strip-all -keep-section=.ARM.attributes -remove-section=.comment "${infile}" -o "${outfile}.tmp" || fail=true + "${CLANG_BIN}/llvm-strip" --strip-all --keep-section=.ARM.attributes --remove-section=.comment "${infile}" -o "${outfile}.tmp" || fail=true else "${CROSS_COMPILE}strip" --strip-all -R .comment "${infile}" -o "${outfile}.tmp" || fail=true fi |