From 769e396f78466205d20abc1eb320bb7a541f5e30 Mon Sep 17 00:00:00 2001 From: Juan RP <xtraeme@gmail.com> Date: Sat, 14 Nov 2009 17:51:22 +0100 Subject: [PATCH] gmp: build with -fexception as requested by ppl. --HG-- extra : convert_revision : 06abc63d23bb709a68f42b9755cf7a054eb41735 --- templates/gmp/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/gmp/template b/templates/gmp/template index d8a89b8c61..25743529e5 100644 --- a/templates/gmp/template +++ b/templates/gmp/template @@ -4,6 +4,8 @@ version=4.3.1 revision=1 distfiles="ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.bz2" build_style=gnu_configure +# Build with -fexceptions as suggested by ppl. +CPPFLAGS="-fexceptions" if [ "$xbps_machine" != "x86_64" ]; then configure_args="--build=${xbps_machine}-pc-linux-gnu" fi