Commit 245c7809 authored by xentec's avatar xentec Committed by Ariadne Conill

main/gcc: fix cross-compile paths for gdb helper

parent d6223f1d
......@@ -357,9 +357,10 @@ package() {
rm -f "$pkgdir"/usr/lib/libffi* "$pkgdir"/usr/share/man/man3/ffi*
find "$pkgdir" -name 'ffi*.h' | xargs rm -f
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/lib
mv "$pkgdir"/usr/lib/* \
local gdblib=${_target:+$CTARGET/}lib
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib
mv "$pkgdir"/usr/$gdblib/* \
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment