diff --git a/src/shell/CMakeLists.txt b/src/shell/CMakeLists.txt index 31849c5c66..0a927af83f 100644 --- a/src/shell/CMakeLists.txt +++ b/src/shell/CMakeLists.txt @@ -22,7 +22,7 @@ add_custom_target(stdlib # '-G Ninja' complains otherwise BYPRODUCTS "${CMAKE_BINARY_DIR}/stage1/libleanstdlib.a" WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../library" - COMMAND make -j8 "${CMAKE_BINARY_DIR}/stage1/libleanstdlib.a" "LEAN=$" "LEANC_OPTS=${LEANC_OPTS}" "STAGE1_OUT=${CMAKE_BINARY_DIR}/stage1" + COMMAND make -j8 --output-sync "${CMAKE_BINARY_DIR}/stage1/libleanstdlib.a" "LEAN=$" "LEANC_OPTS=${LEANC_OPTS}" "STAGE1_OUT=${CMAKE_BINARY_DIR}/stage1" DEPENDS lean_stage0) install(FILES "${CMAKE_BINARY_DIR}/stage1/libleanstdlib.a" DESTINATION lib)