aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cmake')
-rw-r--r--tools/cmake/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index f3712391a6..d6f03e4208 100644
--- a/tools/cmake/Makefile
+++ b/tools/cmake/Makefile
@@ -19,15 +19,12 @@ HOST_CONFIGURE_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
-HOST_CONFIGURE_CMD := \
- MAKEFLAGS="$(HOST_JOBS)" \
- $(BASH) ./configure \
- $(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
-
HOST_CONFIGURE_VARS += \
+ MAKEFLAGS="$(HOST_JOBS)" \
CXXFLAGS="$(HOST_CFLAGS)"
HOST_CONFIGURE_ARGS := \
+ $(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)") \
--prefix=$(STAGING_DIR_HOST)
ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)