From b8bd9cbf00e471be5ef06e24a9e152f253860b42 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 31 Jan 2016 16:27:12 +0800 Subject: [PATCH] cmake: fix "jobserver unavailable" warning use ${MAKE} so the make command can be properly propagated to their children Signed-off-by: Kefu Chai --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 84ddbd2125f73..a6d83c2ba2f86 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -663,7 +663,7 @@ endif(${HAVE_LIBFUSE}) # make rocksdb statically add_custom_target(build_rocksdb COMMAND - PORTABLE=1 make static_lib EXTRA_CXXFLAGS='-fPIC -Wno-unused-variable' + PORTABLE=1 $(MAKE) static_lib EXTRA_CXXFLAGS='-fPIC -Wno-unused-variable' WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/rocksdb COMMENT "rocksdb building") -- 2.39.5