2009-01-21 13:58:17 +02:00
|
|
|
#
|
2012-04-02 19:25:17 +03:00
|
|
|
# Copyright (C) 2009-2012 OpenWrt.org
|
2009-01-21 13:58:17 +02: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
|
2012-06-10 00:22:35 +03:00
|
|
|
PKG_VERSION:=5.0.5
|
2009-01-21 13:58:17 +02:00
|
|
|
|
2012-04-02 19:25:17 +03:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2012-06-10 00:22:35 +03:00
|
|
|
PKG_SOURCE_URL:=@GNU/gmp/
|
|
|
|
PKG_MD5SUM:=8aef50959acec2a1ad41d144ffe0f3b5
|
2009-01-21 13:58:17 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-09-25 12:28:26 +03:00
|
|
|
unexport CFLAGS
|
|
|
|
|
2009-04-06 12:56:25 +03:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared \
|
|
|
|
--enable-cxx \
|
|
|
|
--enable-mpbsd
|
2009-01-21 13:58:17 +02:00
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|