chroot-gcc: avoid lib64 on x86_64.
This commit is contained in:
parent
364a2158a4
commit
5145a5c243
@ -7,7 +7,7 @@ _mpc_ver=0.8.2
|
|||||||
|
|
||||||
pkgname=chroot-gcc
|
pkgname=chroot-gcc
|
||||||
version=${_majorver}.3
|
version=${_majorver}.3
|
||||||
revision=6
|
revision=7
|
||||||
wrksrc="gcc-${version}"
|
wrksrc="gcc-${version}"
|
||||||
homepage="http://gcc.gnu.org"
|
homepage="http://gcc.gnu.org"
|
||||||
short_desc="The GNU C Compiler suite -- for xbps-src use"
|
short_desc="The GNU C Compiler suite -- for xbps-src use"
|
||||||
@ -180,6 +180,11 @@ do_install() {
|
|||||||
cd gcc-build
|
cd gcc-build
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
|
if [ -d ${DESTDIR}/usr/lib64 ]; then
|
||||||
|
mv ${DESTDIR}/usr/lib64/* ${DESTDIR}/usr/lib/
|
||||||
|
rmdir ${DESTDIR}/usr/lib
|
||||||
|
fi
|
||||||
|
|
||||||
# Make version a symlink of major version to make all versions
|
# Make version a symlink of major version to make all versions
|
||||||
# from the same series work automagically.
|
# from the same series work automagically.
|
||||||
mv ${DESTDIR}/usr/lib/gcc/${_triplet}/${version} \
|
mv ${DESTDIR}/usr/lib/gcc/${_triplet}/${version} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user