gmp: build with -fexception as requested by ppl.

--HG--
extra : convert_revision : 06abc63d23bb709a68f42b9755cf7a054eb41735
This commit is contained in:
Juan RP 2009-11-14 17:51:22 +01:00
parent f65948b328
commit 769e396f78
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ version=4.3.1
revision=1 revision=1
distfiles="ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.bz2" distfiles="ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
# Build with -fexceptions as suggested by ppl.
CPPFLAGS="-fexceptions"
if [ "$xbps_machine" != "x86_64" ]; then if [ "$xbps_machine" != "x86_64" ]; then
configure_args="--build=${xbps_machine}-pc-linux-gnu" configure_args="--build=${xbps_machine}-pc-linux-gnu"
fi fi