summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/cmake/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 08e5a69..f371239 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)