procd: make mDNS TXT record parsing more solid
[openwrt/openwrt.git] / tools / gmp / Makefile
1 #
2 # Copyright (C) 2009-2016 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:=6.2.1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@GNU/gmp/
14 PKG_HASH:=fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
15 PKG_CPE_ID:=cpe:/a:gmplib:gmp
16
17 HOST_FIXUP:=autoreconf
18
19 HOST_BUILD_PARALLEL:=1
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 unexport CFLAGS
24
25 HOST_CONFIGURE_ARGS += \
26 --enable-static \
27 --disable-shared \
28 --disable-assembly \
29 --enable-cxx
30
31 ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
32 HOST_CONFIGURE_ARGS += ABI=x32
33 endif
34
35 $(eval $(call HostBuild))