avr-gcc: remove /usr/lib64

Just remove /usr/lib64 - it contains the libcc1.* files for aarch64*
This commit is contained in:
Juergen Buchmueller 2016-12-04 01:55:26 +01:00
parent 99956ed6a1
commit 1324f61366

View file

@ -75,6 +75,7 @@ post_install() {
rm -rf "$DESTDIR"/usr/share/man/man7
rm -rf "$DESTDIR"/usr/share/info
rm -rf "$DESTDIR"/usr/lib/libcc1.*
rm -rf "$DESTDIR"/usr/lib64
ln -s avr-gcc "$DESTDIR"/usr/bin/avr-cc
find "$DESTDIR"/usr/lib -type f -name "*.a" \
-exec avr-strip --strip-debug {} \;