Commit 245c7809 authored by xentec's avatar xentec Committed by William Pitcock

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/*-gdb.py \
"$pkgdir"/usr/share/gdb/python/auto-load/usr/lib/
local gdblib=${_target:+$CTARGET/}lib
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib
mv "$pkgdir"/usr/$gdblib/*-gdb.py \
"$pkgdir"/usr/share/gdb/python/auto-load/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