summaryrefslogtreecommitdiff
path: root/src/prepare_environment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/prepare_environment.sh')
-rwxr-xr-xsrc/prepare_environment.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prepare_environment.sh b/src/prepare_environment.sh
index 0457e98..1f4952d 100755
--- a/src/prepare_environment.sh
+++ b/src/prepare_environment.sh
@@ -1,7 +1,8 @@
#!/bin/sh
-export MAKEFLAGS="-j12"
+export MAKEFLAGS="-j$(grep "processor" /proc/cpuinfo | wc -l)"
export LDFLAGS="-liconv"
+#export LDFLAGS=""
export XIB_DIR="/var/lib/xib"
export XIB_BUILDFILES="$XIB_DIR/buildfiles"