aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoelacanthus <[email protected]>2021-10-24 17:41:38 +0800
committerCoelacanthus <[email protected]>2021-10-24 17:41:38 +0800
commitf0ab07957c7ace17af08ffabbbb64eb607f53f28 (patch)
treea076cc3c2edb516aebdf46dee16cf036e3360ef2
parentc2c330dd9689883a08a61d4981f59bb1cee57db2 (diff)
refactor(makepkg): enable parallel compilation
Signed-off-by: Coelacanthus <[email protected]>
-rw-r--r--makepkg.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/makepkg.conf b/makepkg.conf
index c37b078..a059782 100644
--- a/makepkg.conf
+++ b/makepkg.conf
@@ -45,7 +45,7 @@ CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#RUSTFLAGS="-C opt-level=2"
#-- Make Flags: change this for DistCC/SMP systems
-#MAKEFLAGS="-j2"
+MAKEFLAGS="-j$(nproc)"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"