Thomas Coldrick pushed to branch coldtom/strip-rules at BuildStream / buildstream
Commits:
-
8ef07828
by Thomas Coldrick at 2018-08-30T11:37:16Z
1 changed file:
Changes:
... | ... | @@ -90,13 +90,13 @@ variables: |
90 | 90 |
esac
|
91 | 91 |
realpath="$(realpath -s --relative-to="%{install-root}" "${file}")"
|
92 | 92 |
debugfile="%{install-root}%{debugdir}/${realpath}.debug"
|
93 |
- mkdir -p "$(dirname "$debugfile")" || %{non-fatal-strip}
|
|
94 |
- objcopy %{objcopy-extract-args} "${file}" "$debugfile" || %{non-fatal-strip}
|
|
93 |
+ mkdir -p "$(dirname "$debugfile")"
|
|
94 |
+ objcopy %{objcopy-extract-args} "${file}" "$debugfile"
|
|
95 | 95 |
chmod 644 "$debugfile"
|
96 | 96 |
mode="$(stat -c 0%a "${file}")"
|
97 | 97 |
[ -w "${file}" ] || chmod +w "${file}"
|
98 | 98 |
strip %{strip-args} "${file}" || %{non-fatal-strip}
|
99 |
- objcopy %{objcopy-link-args} "$debugfile" "${file}" || %{non-fatal-strip}
|
|
99 |
+ objcopy %{objcopy-link-args} "$debugfile" "${file}"
|
|
100 | 100 |
chmod "${mode}" "${file}"
|
101 | 101 |
done
|
102 | 102 |
|