about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--scripts/build/p-libcxx.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/p-libcxx.inc b/scripts/build/p-libcxx.inc
index b0263c00..a549c485 100644
--- a/scripts/build/p-libcxx.inc
+++ b/scripts/build/p-libcxx.inc
@@ -60,9 +60,9 @@ build_libcxx() {
 
     cmake "${cmake_flags[@]}" "${LIBCXX_SRC}/llvm"
    if [[ "${LLVM_VERSION_SHORT}" -ge "14" ]]; then
-     make runtimes - j"$(nproc)" || make cxx || return 1
+     make runtimes "-j$(nproc)" || make runtimes || return 1
    else
-     make cxx - j"$(nproc)" || make cxx || return 1
+     make cxx "-j$(nproc)" || make cxx || return 1
    fi
   )
 }