| 1 | # |
| 2 | # Copyright (C) 2009-2012 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.0.5 |
| 11 | |
| 12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
| 13 | PKG_SOURCE_URL:=@GNU/gmp/ |
| 14 | PKG_MD5SUM:=8aef50959acec2a1ad41d144ffe0f3b5 |
| 15 | |
| 16 | HOST_BUILD_PARALLEL:=1 |
| 17 | |
| 18 | include $(INCLUDE_DIR)/host-build.mk |
| 19 | |
| 20 | unexport CFLAGS |
| 21 | |
| 22 | HOST_CONFIGURE_ARGS += \ |
| 23 | --enable-static \ |
| 24 | --disable-shared \ |
| 25 | --enable-cxx \ |
| 26 | --enable-mpbsd |
| 27 | |
| 28 | $(eval $(call HostBuild)) |
| 29 | |