Browse Source

Free up a core

bryan 1 năm trước cách đây
mục cha
commit
f251a19215
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      openwrtbuilder

+ 1 - 1
openwrtbuilder

@@ -458,7 +458,7 @@ makeImages() {
         PACKAGES="$PACKAGES" \
         FILES="$FILESDIR" \
         --directory="$BUILDDIR" \
-        --jobs="$(nproc)"  \
+        --jobs="$(($(nproc) - 1))"  \
         > "$BUILDDIR/make.log"
 }