X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fyousong.git;a=blobdiff_plain;f=tools%2Fgmp%2FMakefile;h=19dc8215f3f8a6b55fb83a7f6317d534a4de746a;hp=1bee5f2b1f9f8ecfbbdbe99d3e29f6b654ea4e65;hb=6f9011f089981776970ca3fb397c483e257f9dde;hpb=ccb6b0a063a4133ac59c811476b670c7d66f84ed diff --git a/tools/gmp/Makefile b/tools/gmp/Makefile index 1bee5f2b1f..19dc8215f3 100644 --- a/tools/gmp/Makefile +++ b/tools/gmp/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009 -2010 OpenWrt.org +# Copyright (C) 2009-2016 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -7,11 +7,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gmp -PKG_VERSION:=5.0.1 +PKG_VERSION:=6.1.2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/gmp/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_MD5SUM:=6bac6df75c192a13419dfd71d19240a7 +PKG_HASH:=87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912 + +HOST_FIXUP:=autoreconf + +HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk @@ -20,7 +24,12 @@ unexport CFLAGS HOST_CONFIGURE_ARGS += \ --enable-static \ --disable-shared \ + --disable-assembly \ --enable-cxx \ --enable-mpbsd +ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32) +HOST_CONFIGURE_ARGS += ABI=x32 +endif + $(eval $(call HostBuild))