gcc: fix multilib build.
This commit is contained in:
parent
cd1a51aef2
commit
51c39a88e7
|
@ -127,8 +127,11 @@ gcc-c++-multilib_package() {
|
|||
noverifyrdeps=yes
|
||||
|
||||
pkg_install() {
|
||||
vmove usr/lib32/libstdc++.a
|
||||
vmove usr/lib32/libsupc++.a
|
||||
vmkdir usr/lib/gcc/${_triplet}/${_majorver}/32
|
||||
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() {
|
||||
vmove usr/lib/gcc/${_triplet}/${_majorver}/32
|
||||
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
|
||||
|
||||
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 New Issue