diff options
author | Adam Tkac <atkac@redhat.com> | 2010-09-02 15:42:31 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-09-02 15:42:31 +0000 |
commit | c321219b026ff84a78b626ff3d5c9f4594d41247 (patch) | |
tree | cec40c51ba6b2dbd7c540dea0528dbf2e3d82d70 /unix/build-xorg | |
parent | 520fc416dd2f7742dd51b2efb5e42d3233f47d5d (diff) | |
download | tigervnc-c321219b026ff84a78b626ff3d5c9f4594d41247.tar.gz tigervnc-c321219b026ff84a78b626ff3d5c9f4594d41247.zip |
[Development] Compile Xvnc parallely, if possible.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4129 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/build-xorg')
-rwxr-xr-x | unix/build-xorg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/build-xorg b/unix/build-xorg index bce07af7..ea638d15 100755 --- a/unix/build-xorg +++ b/unix/build-xorg @@ -234,6 +234,10 @@ usage () exit 1 } +if [ -x '/usr/bin/getconf' ]; then + MAKE_PARALLEL=`/usr/bin/getconf _NPROCESSORS_ONLN 2>&1` + [ "$MAKE_PARALLEL" -gt 1 ] && MAKE="$MAKE -j$MAKE_PARALLEL" +fi while [ $# -gt 0 ] do |