2009-01-21 11:58:17 +00:00
|
|
|
#
|
2016-02-08 08:25:46 +00:00
|
|
|
# Copyright (C) 2009-2016 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
|
2023-10-11 14:54:13 +00:00
|
|
|
PKG_VERSION:=6.3.0
|
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/
|
2023-10-11 14:54:13 +00:00
|
|
|
PKG_HASH:=a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898
|
2023-09-18 22:10:03 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:gmplib:gmp
|
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 \
|
2015-06-04 21:44:52 +00:00
|
|
|
--disable-assembly \
|
2020-02-03 13:04:07 +00:00
|
|
|
--enable-cxx
|
2009-01-21 11:58:17 +00:00
|
|
|
|
2014-10-25 16:57:16 +00:00
|
|
|
ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
|
|
|
|
HOST_CONFIGURE_ARGS += ABI=x32
|
|
|
|
endif
|
|
|
|
|
2022-09-28 08:23:56 +00:00
|
|
|
define Host/Uninstall
|
|
|
|
-$(call Host/Compile/Default,uninstall)
|
|
|
|
endef
|
|
|
|
|
2009-01-21 11:58:17 +00:00
|
|
|
$(eval $(call HostBuild))
|