diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-07-14 11:21:59 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-07-14 11:21:59 +0000 |
commit | d0b2ff0094f3346eb8cab855d42bb15a2c9753be (patch) | |
tree | 83a432677c0fec2d4d08f99ec9464a3334d1507e /main/gcc/APKBUILD | |
parent | f80b663708641d7b030bb40409df63ce11e6929e (diff) | |
download | aports-d0b2ff0094f3346eb8cab855d42bb15a2c9753be.tar.bz2 aports-d0b2ff0094f3346eb8cab855d42bb15a2c9753be.tar.xz |
main/gcc: fix cross-compiler build
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r-- | main/gcc/APKBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index 7bea5d0f2e..13887980d0 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -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/*-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 |