2009-01-21 11:58:17 +00:00
|
|
|
#
|
2013-02-28 00:52:30 +00:00
|
|
|
# Copyright (C) 2009-2013 OpenWrt.org
|
2009-01-21 11:58:17 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gmp
|
2013-06-03 01:18:47 +00:00
|
|
|
PKG_VERSION:=5.1.2
|
2009-01-21 11:58:17 +00:00
|
|
|
|
2012-04-02 16:25:17 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2012-06-09 21:22:35 +00:00
|
|
|
PKG_SOURCE_URL:=@GNU/gmp/
|
2013-06-03 01:18:47 +00:00
|
|
|
PKG_MD5SUM:=06fe2ca164221c59ce74867155cfc1ac
|
2013-02-28 00:52:30 +00:00
|
|
|
|
|
|
|
HOST_FIXUP:=autoreconf
|
2009-01-21 11:58:17 +00:00
|
|
|
|
2012-09-15 14:17:43 +00:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
2009-01-21 11:58:17 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-09-25 09:28:26 +00:00
|
|
|
unexport CFLAGS
|
|
|
|
|
2009-04-06 09:56:25 +00:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared \
|
|
|
|
--enable-cxx \
|
|
|
|
--enable-mpbsd
|
2009-01-21 11:58:17 +00:00
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|