Commit d0b2ff00 authored by Timo Teräs's avatar Timo Teräs

main/gcc: fix cross-compiler build

parent f80b6637
......@@ -347,9 +347,10 @@ package() {
find "$pkgdir" -name 'ffi*.h' | xargs rm -f
local gdblib=${_target:+$CTARGET/}lib
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib
mv "$pkgdir"/usr/$gdblib/* \
for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*" ); do
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib
mv "$i" "$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