2009-01-21 19:58:17 +08:00
|
|
|
#
|
2016-02-08 16:25:46 +08:00
|
|
|
# Copyright (C) 2009-2016 OpenWrt.org
|
2009-01-21 19:58:17 +08: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
|
2020-11-21 19:36:15 +08:00
|
|
|
PKG_VERSION:=6.2.1
|
2009-01-21 19:58:17 +08:00
|
|
|
|
2012-04-03 00:25:17 +08:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2012-06-10 05:22:35 +08:00
|
|
|
PKG_SOURCE_URL:=@GNU/gmp/
|
2020-11-21 19:36:15 +08:00
|
|
|
PKG_HASH:=fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
|
2013-02-28 08:52:30 +08:00
|
|
|
|
|
|
|
HOST_FIXUP:=autoreconf
|
2009-01-21 19:58:17 +08:00
|
|
|
|
2012-09-15 22:17:43 +08:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
2009-01-21 19:58:17 +08:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2009-09-25 17:28:26 +08:00
|
|
|
unexport CFLAGS
|
|
|
|
|
2009-04-06 17:56:25 +08:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared \
|
2015-06-05 05:44:52 +08:00
|
|
|
--disable-assembly \
|
2020-02-03 21:04:07 +08:00
|
|
|
--enable-cxx
|
2009-01-21 19:58:17 +08:00
|
|
|
|
2014-10-26 00:57:16 +08:00
|
|
|
ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
|
|
|
|
HOST_CONFIGURE_ARGS += ABI=x32
|
|
|
|
endif
|
|
|
|
|
2009-01-21 19:58:17 +08:00
|
|
|
$(eval $(call HostBuild))
|