gmp: upgrade to version 5.1.1
[openwrt/staging/lynxis/omap.git] / tools / gmp / Makefile
1 #
2 # Copyright (C) 2009-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=gmp
10 PKG_VERSION:=5.1.1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@GNU/gmp/
14 PKG_MD5SUM:=485b1296e6287fa381e6015b19767989
15
16 HOST_FIXUP:=autoreconf
17
18 HOST_BUILD_PARALLEL:=1
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 unexport CFLAGS
23
24 HOST_CONFIGURE_ARGS += \
25 --enable-static \
26 --disable-shared \
27 --enable-cxx \
28 --enable-mpbsd
29
30 $(eval $(call HostBuild))