avr-gcc: remove /usr/lib64
Just remove /usr/lib64 - it contains the libcc1.* files for aarch64*
This commit is contained in:
@@ -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 {} \;
|
||||
|
||||
Reference in New Issue
Block a user