projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gmp: add host compile
[openwrt/staging/wigyori.git]
/
package
/
libs
/
gmp
/
Makefile
diff --git
a/package/libs/gmp/Makefile
b/package/libs/gmp/Makefile
index a165131acf283c27833071f87f8091e43658defe..f5839b74bbf93248defaca0d60b27ff24366ee38 100644
(file)
--- a/
package/libs/gmp/Makefile
+++ b/
package/libs/gmp/Makefile
@@
-22,6
+22,7
@@
PKG_FIXUP:=autoreconf
PKG_USE_MIPS16:=0
PKG_USE_MIPS16:=0
+include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
define Package/libgmp
include $(INCLUDE_DIR)/package.mk
define Package/libgmp
@@
-44,7
+45,6
@@
CONFIGURE_ARGS += \
--without-readline \
--disable-fft \
--without-readline \
--disable-fft \
-
define Build/Compile
$(call Build/Compile/Default, \
DESTDIR="$(PKG_INSTALL_DIR)" \
define Build/Compile
$(call Build/Compile/Default, \
DESTDIR="$(PKG_INSTALL_DIR)" \
@@
-66,3
+66,4
@@
define Package/libgmp/install
endef
$(eval $(call BuildPackage,libgmp))
endef
$(eval $(call BuildPackage,libgmp))
+$(eval $(call HostBuild))