chroot-gcc: reenable bootstrap and only set ABI for gmp.
This commit is contained in:
parent
739f34813f
commit
2cb26c1eb3
|
@ -7,7 +7,7 @@ _mpc_ver=0.8.2
|
|||
|
||||
pkgname=chroot-gcc
|
||||
version=${_majorver}.3
|
||||
revision=7
|
||||
revision=8
|
||||
wrksrc="gcc-${version}"
|
||||
homepage="http://gcc.gnu.org"
|
||||
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
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*) export ABI=32;;
|
||||
i686*) _abi="ABI=32";;
|
||||
esac
|
||||
../gmp-${_gmp_ver}/configure --prefix=${wrksrc}/buildtmp \
|
||||
${_abi} ../gmp-${_gmp_ver}/configure --prefix=${wrksrc}/buildtmp \
|
||||
--disable-shared --enable-static "$@"
|
||||
|
||||
make ${makejobs}
|
||||
|
@ -139,7 +139,7 @@ do_configure() {
|
|||
cd gcc-build
|
||||
|
||||
CONFIG_SHELL=/bin/bash \
|
||||
../gcc-${version}/configure --disable-bootstrap \
|
||||
../gcc-${version}/configure \
|
||||
--prefix=/usr --bindir=/usr/bin \
|
||||
--mandir=/usr/share/man --infodir=/usr/share/info \
|
||||
--libdir=/usr/lib --libexecdir=/usr/lib \
|
||||
|
|
Loading…
Reference in New Issue