aboutsummaryrefslogtreecommitdiffstats
path: root/package/cmake/cmake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/cmake/cmake.mk')
-rw-r--r--package/cmake/cmake.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
index 42d4ff5ed..b388874ae 100644
--- a/package/cmake/cmake.mk
+++ b/package/cmake/cmake.mk
@@ -4,7 +4,9 @@ CMAKE_SITE=http://www.cmake.org/files/v2.8/
define HOST_CMAKE_CONFIGURE_CMDS
(cd $(@D); \
- ./bootstrap --prefix=$(HOST_DIR)/usr --parallel=$(BR2_JLEVEL) \
+ LDFLAGS="$(HOST_LDFLAGS)" \
+ CFLAGS="$(HOST_CFLAGS)" \
+ ./bootstrap --prefix=$(HOST_DIR)/usr --parallel=$(BR2_JLEVEL) \
)
endef