aboutsummaryrefslogtreecommitdiffstats
path: root/tools/expat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/expat/Makefile')
-rw-r--r--tools/expat/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/tools/expat/Makefile b/tools/expat/Makefile
index 21548de442..c1a8cb8d97 100644
--- a/tools/expat/Makefile
+++ b/tools/expat/Makefile
@@ -15,19 +15,19 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_HASH:=ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe
PKG_SOURCE_URL:=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$(PKG_VERSION))
+HOST_BUILD_PARALLEL:=1
+
include $(INCLUDE_DIR)/host-build.mk
-include $(INCLUDE_DIR)/cmake.mk
-
-CMAKE_HOST_OPTIONS += \
- -DDOCBOOK_TO_MAN=OFF \
- -DEXPAT_BUILD_TOOLS=OFF \
- -DEXPAT_BUILD_EXAMPLES=OFF \
- -DEXPAT_BUILD_TESTS=OFF \
- -DEXPAT_BUILD_DOCS=OFF \
- -DEXPAT_WITH_LIBBSD=OFF \
- -DEXPAT_ENABLE_INSTALL=ON \
- -DEXPAT_DTD=ON \
- -DEXPAT_NS=OFF \
- -DEXPAT_DEV_URANDOM=OFF
+
+HOSTCC := $(HOSTCC_NOCACHE)
+
+HOST_CONFIGURE_ARGS += \
+ --disable-shared \
+ --without-docbook \
+ --with-pic
+
+define Host/Uninstall
+ -$(call Host/Compile/Default,uninstall)
+endef
$(eval $(call HostBuild))