summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-09-18 19:38:48 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-09-19 14:00:38 +0200
commitf87138339b17bc2b1d84c59ea176abb941413550 (patch)
tree6bf457f293bdb6ece148bde0f8673387214e4f1f
parentc476094892828da4eb4a7ab1c7020ebb41959200 (diff)
downloadbuildroot-f87138339b17bc2b1d84c59ea176abb941413550.tar.gz
buildroot-f87138339b17bc2b1d84c59ea176abb941413550.zip
cmake: explicitly disable openssl support for host-cmake
host-cmake will optionally link with openssl for the embedded copy of libarchive if available, leaking host dependencies and possibly causing build issues in case of compatibility issues - E.G. the host-cmake version we have in 2017.02.x doesn't build against openssl-1.1.0+: https://github.com/libarchive/libarchive/issues/810 The openssl support in libarchive is unlikely to be needed, so explicitly disable it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/cmake/cmake.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
index e53b8aa360..a00691a128 100644
--- a/package/cmake/cmake.mk
+++ b/package/cmake/cmake.mk
@@ -46,6 +46,7 @@ define HOST_CMAKE_CONFIGURE_CMDS
-DCMAKE_C_FLAGS="$(HOST_CMAKE_CFLAGS)" \
-DCMAKE_CXX_FLAGS="$(HOST_CMAKE_CXXFLAGS)" \
-DCMAKE_EXE_LINKER_FLAGS="$(HOST_LDFLAGS)" \
+ -DCMAKE_USE_OPENSSL:BOOL=OFF \
-DBUILD_CursesDialog=OFF \
)
endef
OpenPOWER on IntegriCloud