mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
cross-aarch64-linux-gnu: clean up.
This commit is contained in:
parent
cc5e1a66c4
commit
b59c19917b
1 changed files with 8 additions and 8 deletions
|
@ -250,11 +250,11 @@ do_install() {
|
||||||
cd ${wrksrc}/glibc-build
|
cd ${wrksrc}/glibc-build
|
||||||
make install_root=${DESTDIR}/${_CROSS_SYSROOT} install install-headers
|
make install_root=${DESTDIR}/${_CROSS_SYSROOT} install install-headers
|
||||||
|
|
||||||
# Move files to /usr/lib (lib64).
|
# Move files to /usr/lib (lib64).
|
||||||
if [ -d ${DESTDIR}/${_sysroot}/usr/lib64 ]; then
|
if [ -d ${DESTDIR}/${_sysroot}/usr/lib64 ]; then
|
||||||
mv ${DESTDIR}/${_sysroot}/usr/lib64/* ${DESTDIR}/${_sysroot}/usr/lib/
|
mv ${DESTDIR}/${_sysroot}/usr/lib64/* ${DESTDIR}/${_sysroot}/usr/lib/
|
||||||
rmdir ${DESTDIR}/${_sysroot}/usr/lib64
|
rmdir ${DESTDIR}/${_sysroot}/usr/lib64
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove unnecessary stuff
|
# Remove unnecessary stuff
|
||||||
rm -f ${DESTDIR}/usr/lib*/libiberty.a
|
rm -f ${DESTDIR}/usr/lib*/libiberty.a
|
||||||
|
|
Loading…
Add table
Reference in a new issue