Skip to content
Snippets Groups Projects
Commit 46e02943 authored by Mingcong Bai's avatar Mingcong Bai
Browse files

fix(elf): disable eu-strip for now

eu-strip seems to mis-strip .o relocatables.
parent 1a5cb312
No related branches found
No related tags found
No related merge requests found
......@@ -7,22 +7,18 @@ filter_elf() {
if ! bool "$ABSTRIP"; then
abinfo 'Not stripping ELF binaries as requested.'
_opts+=('-r')
elif ! bool "$ABSPLITDBG"; then
elif ! bool "$ABSPLITDBG"; then
abinfo 'Not splitting ELF binaries as requested.'
_opts+=('-x')
fi
if command -v eu-strip > /dev/null; then
_opts+=('-e')
fi
local _elf_path=()
for i in "$PKGDIR"/{opt/*/*/,opt/*/,usr/,}{lib{,64,exec},{s,}bin}/; do
if [ -d "$i" ]; then
_elf_path+=("$i")
fi
done
abelf_copy_dbg_parallel "${_opts[@]}" "${_elf_path[@]}" "${SYMDIR}"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment