parent
564f4a0cf1
commit
b0085f8a1e
1 changed files with 4 additions and 6 deletions
|
@ -10,7 +10,7 @@ _sysroot="/usr/${_triplet}"
|
|||
|
||||
pkgname=cross-${_triplet}
|
||||
version=0.24
|
||||
revision=2
|
||||
revision=3
|
||||
short_desc="Cross toolchain for x86_64 with musl"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.voidlinux.eu"
|
||||
|
@ -84,6 +84,9 @@ _gcc_bootstrap() {
|
|||
cd ${wrksrc}/gcc-${_gcc_version}
|
||||
_apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch
|
||||
|
||||
sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
|
||||
sed -i 's/lib64/lib/' gcc/config/i386/linux64.h
|
||||
|
||||
msg_normal "Building cross gcc bootstrap\n"
|
||||
|
||||
[ ! -d ../gcc-bootstrap ] && mkdir ../gcc-bootstrap
|
||||
|
@ -247,11 +250,6 @@ do_install() {
|
|||
cd ${DESTDIR}/${_sysroot}/usr/lib
|
||||
ln -sf libc.so ld-musl-x86_64.so.1
|
||||
|
||||
# Move files to /usr/lib (lib64).
|
||||
if [ -d ${DESTDIR}/${_sysroot}/usr/lib64 ]; then
|
||||
mv ${DESTDIR}/${_sysroot}/usr/lib64/* ${DESTDIR}/${_sysroot}/usr/lib/
|
||||
rmdir ${DESTDIR}/${_sysroot}/usr/lib64
|
||||
fi
|
||||
# Remove unnecessary stuff
|
||||
rm -f ${DESTDIR}/usr/lib*/libiberty.a
|
||||
rm -rf ${DESTDIR}/usr/share
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue