chroot-gcc: reenable bootstrap and only set ABI for gmp.
This commit is contained in:
parent
739f34813f
commit
2cb26c1eb3
1 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ _mpc_ver=0.8.2
|
||||||
|
|
||||||
pkgname=chroot-gcc
|
pkgname=chroot-gcc
|
||||||
version=${_majorver}.3
|
version=${_majorver}.3
|
||||||
revision=7
|
revision=8
|
||||||
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"
|
||||||
|
@ -63,9 +63,9 @@ _gmp_build() {
|
||||||
cp -f ${XBPS_CROSSPFDIR}/config.sub ../gmp-${_gmp_ver}/configfsf.sub
|
cp -f ${XBPS_CROSSPFDIR}/config.sub ../gmp-${_gmp_ver}/configfsf.sub
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*) export ABI=32;;
|
i686*) _abi="ABI=32";;
|
||||||
esac
|
esac
|
||||||
../gmp-${_gmp_ver}/configure --prefix=${wrksrc}/buildtmp \
|
${_abi} ../gmp-${_gmp_ver}/configure --prefix=${wrksrc}/buildtmp \
|
||||||
--disable-shared --enable-static "$@"
|
--disable-shared --enable-static "$@"
|
||||||
|
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
@ -139,7 +139,7 @@ do_configure() {
|
||||||
cd gcc-build
|
cd gcc-build
|
||||||
|
|
||||||
CONFIG_SHELL=/bin/bash \
|
CONFIG_SHELL=/bin/bash \
|
||||||
../gcc-${version}/configure --disable-bootstrap \
|
../gcc-${version}/configure \
|
||||||
--prefix=/usr --bindir=/usr/bin \
|
--prefix=/usr --bindir=/usr/bin \
|
||||||
--mandir=/usr/share/man --infodir=/usr/share/info \
|
--mandir=/usr/share/man --infodir=/usr/share/info \
|
||||||
--libdir=/usr/lib --libexecdir=/usr/lib \
|
--libdir=/usr/lib --libexecdir=/usr/lib \
|
||||||
|
|
Loading…
Reference in a new issue