tools/gmp: Remove obsolete options
[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.0
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@GNU/gmp/
14 PKG_HASH:=258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526
15
16 HOST_FIXUP:=autoreconf
17
18 HOST_BUILD_PARALLEL:=1
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 unexport CFLAGS
23
24 HOST_CONFIGURE_ARGS += \
25 --enable-static \
26 --disable-shared \
27 --disable-assembly \
28 --enable-cxx
29
30 ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
31 HOST_CONFIGURE_ARGS += ABI=x32
32 endif
33
34 $(eval $(call HostBuild))