Adjust gcc-armhf/gcc-aarch64 to upstream
This commit is contained in:
parent
cdcc3d81a6
commit
ae5817534f
2 changed files with 8 additions and 6 deletions
|
@ -360,9 +360,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/*-gdb.py \
|
||||
"$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/
|
||||
for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*-gdb.py" ); do
|
||||
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib
|
||||
mv "$i" "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/
|
||||
done
|
||||
|
||||
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
|
||||
|
||||
|
|
|
@ -360,9 +360,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/*-gdb.py \
|
||||
"$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/
|
||||
for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*-gdb.py" ); do
|
||||
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib
|
||||
mv "$i" "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/
|
||||
done
|
||||
|
||||
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
|
||||
|
||||
|
|
Loading…
Reference in a new issue