gcc: fix multilib build.
This commit is contained in:
parent
cd1a51aef2
commit
51c39a88e7
1 changed files with 9 additions and 4 deletions
|
@ -127,8 +127,11 @@ gcc-c++-multilib_package() {
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib32/libstdc++.a
|
vmkdir usr/lib/gcc/${_triplet}/${_majorver}/32
|
||||||
vmove usr/lib32/libsupc++.a
|
mv ${DESTDIR}/usr/lib32/libstdc++.a \
|
||||||
|
${PKGDESTDIR}/usr/lib/gcc/${_triplet}/${_majorver}/32
|
||||||
|
mv ${DESTDIR}/usr/lib32/libsupc++.a \
|
||||||
|
${PKGDESTDIR}/usr/lib/gcc/${_triplet}/${_majorver}/32
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,7 +143,7 @@ gcc-multilib_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/gcc/${_triplet}/${_majorver}/32
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/32
|
||||||
vmove "usr/lib32/libssp*.a"
|
vmove "usr/lib32/libssp*.a"
|
||||||
vinstall ${wrksrc}/host-${_triplet}/gcc/specs 644 usr/lib/gcc/${_triplet}/${_majorver}/32
|
vinstall ${wrksrc}/host-${_triplet}/gcc/specs 644 usr/lib/gcc/${_triplet}/${_majorver}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,7 +153,9 @@ gcc-objc-multilib_package() {
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib32/libobjc*.a"
|
vmkdir usr/lib/gcc/${_triplet}/${_majorver}/32
|
||||||
|
mv ${DESTDIR}/usr/lib32/libobjc*.a \
|
||||||
|
${PKGDESTDIR}/usr/lib/gcc/${_triplet}/${_majorver}/32
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue