mpc85xx: fix address config for ws-ap3825i
[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.3.0
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=@GNU/gmp/
14 PKG_HASH:=e56fd59d76810932a0555aa15a14b61c16bed66110d3c75cc2ac49ddaa9ab24c
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 define Host/Uninstall
36 -$(call Host/Compile/Default,uninstall)
37 endef
38
39 $(eval $(call HostBuild))