From 90006645ab8791ad184b2970f4d8ec304a7a6f7f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 2 Sep 2010 21:09:51 +0200 Subject: [PATCH] gmp: update to gmp-5.0.1 Signed-off-by: Stephan Raue --- packages/toolchain/math/gmp/build | 8 +++--- packages/toolchain/math/gmp/meta | 2 +- .../math/gmp/patches/10_cross-compile.diff | 27 ------------------- 3 files changed, 4 insertions(+), 33 deletions(-) delete mode 100644 packages/toolchain/math/gmp/patches/10_cross-compile.diff diff --git a/packages/toolchain/math/gmp/build b/packages/toolchain/math/gmp/build index 6e4af44f9e..f63b5258d8 100755 --- a/packages/toolchain/math/gmp/build +++ b/packages/toolchain/math/gmp/build @@ -6,10 +6,8 @@ $SCRIPTS/install ccache setup_toolchain host -# CFLAGS: workaround gcc 4.3.2 bug on x86_64 hosts -# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524472 - export CFLAGS="$CFLAGS -fno-strict-aliasing -fPIC" - export CPPFLAGS="$CPPFLAGS -fexceptions" +export CFLAGS="$CFLAGS -fPIC" +export CPPFLAGS="$CPPFLAGS -fexceptions" cd $PKG_BUILD @@ -18,13 +16,13 @@ cd objdir ../configure --host=$HOST_NAME \ --build=$HOST_NAME \ - --target=$TARGET_NAME \ --prefix=$ROOT/$TOOLCHAIN \ --enable-shared \ --disable-static \ --enable-mpbsd \ --enable-cxx \ +# --target=$TARGET_NAME \ make make check make install diff --git a/packages/toolchain/math/gmp/meta b/packages/toolchain/math/gmp/meta index 5eba48d3be..86ba00261b 100644 --- a/packages/toolchain/math/gmp/meta +++ b/packages/toolchain/math/gmp/meta @@ -1,5 +1,5 @@ PKG_NAME="gmp" -PKG_VERSION="4.3.2" +PKG_VERSION="5.0.1" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="LGPL" diff --git a/packages/toolchain/math/gmp/patches/10_cross-compile.diff b/packages/toolchain/math/gmp/patches/10_cross-compile.diff deleted file mode 100644 index 729f67f1e4..0000000000 --- a/packages/toolchain/math/gmp/patches/10_cross-compile.diff +++ /dev/null @@ -1,27 +0,0 @@ -diff -Naur gmp-4.2.3.orig/configure gmp-4.2.3/configure ---- gmp-4.2.3.orig/configure 2008-08-05 13:56:41.000000000 +0200 -+++ gmp-4.2.3/configure 2008-08-05 13:57:06.000000000 +0200 -@@ -1584,22 +1584,7 @@ - - - --# If --target is not used then $target_alias is empty, but if say --# "./configure athlon-pc-freebsd3.5" is used, then all three of --# $build_alias, $host_alias and $target_alias are set to --# "athlon-pc-freebsd3.5". --# --if test -n "$target_alias" && test "$target_alias" != "$host_alias"; then -- { { echo "$as_me:$LINENO: error: --target is not appropriate for GMP --Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system --explicitly. Use --host if cross-compiling (see \"Installing GMP\" in the --manual for more on this)." >&5 --echo "$as_me: error: --target is not appropriate for GMP --Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system --explicitly. Use --host if cross-compiling (see \"Installing GMP\" in the --manual for more on this)." >&2;} -- { (exit 1); exit 1; }; } --fi -+ - - gmp_configm4="config.m4" - gmp_tmpconfigm4=cnfm4.tmp