aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cmake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cmake/Makefile')
-rw-r--r--tools/cmake/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 08e5a69ecf..f3712391a6 100644
--- a/tools/cmake/Makefile
+++ b/tools/cmake/Makefile
@@ -24,7 +24,8 @@ HOST_CONFIGURE_CMD := \
$(BASH) ./configure \
$(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
-HOST_CONFIGURE_VARS :=
+HOST_CONFIGURE_VARS += \
+ CXXFLAGS="$(HOST_CFLAGS)"
HOST_CONFIGURE_ARGS := \
--prefix=$(STAGING_DIR_HOST)