projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usbutils: Update usb.ids database to 2016.10.13
[openwrt/openwrt.git]
/
tools
/
mpc
/
Makefile
diff --git
a/tools/mpc/Makefile
b/tools/mpc/Makefile
index 3898830c0b94eb92e4d41934548dc11305106e02..ef9bfc4db231b0ac81de488762f917bbea4b7c9d 100644
(file)
--- a/
tools/mpc/Makefile
+++ b/
tools/mpc/Makefile
@@
-1,5
+1,5
@@
#
#
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2009
-2015
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-7,34
+7,22
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=mpc
include $(TOPDIR)/rules.mk
PKG_NAME:=mpc
-PKG_VERSION:=
0.8.1
+PKG_VERSION:=
1.0.3
-PKG_SOURCE_URL:=
http://www.multiprecision.org/mpc/download
/
+PKG_SOURCE_URL:=
@GNU/mpc
/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_MD5SUM:=5b34aa804d514cc295414a963aedb6bf
+PKG_HASH:=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3
+
+HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
unexport CFLAGS
include $(INCLUDE_DIR)/host-build.mk
unexport CFLAGS
-ifeq ($(HOST_OS),Darwin)
- GNU_HOST_NAME:=
- HOST_CONFIGURE_ARGS:=$(filter-out --target= --build= --host=,$(HOST_CONFIGURE_ARGS))
-endif
-
HOST_CONFIGURE_ARGS += \
--enable-static \
--disable-shared \
--with-mpfr=$(TOPDIR)/staging_dir/host \
--with-gmp=$(TOPDIR)/staging_dir/host
HOST_CONFIGURE_ARGS += \
--enable-static \
--disable-shared \
--with-mpfr=$(TOPDIR)/staging_dir/host \
--with-gmp=$(TOPDIR)/staging_dir/host
-define Host/Configure
- (cd $(HOST_BUILD_DIR)/$(3); \
- $(HOST_CONFIGURE_CMD) \
- $(HOST_CONFIGURE_VARS) \
- $(HOST_CONFIGURE_ARGS); \
- )
-endef
-
-
$(eval $(call HostBuild))
$(eval $(call HostBuild))