Commit 01db7041 authored by Rafaël Carré's avatar Rafaël Carré

use all cores to build contrib and vlc

parent 67155168
...@@ -191,11 +191,17 @@ else ...@@ -191,11 +191,17 @@ else
OPTS="--enable-debug" OPTS="--enable-debug"
fi fi
MAKEFLAGS=
if which nproc >/dev/null
then
MAKEFLAGS=-j`nproc`
fi
echo "EXTRA_CFLAGS= -g ${EXTRA_CFLAGS}" >> config.mak echo "EXTRA_CFLAGS= -g ${EXTRA_CFLAGS}" >> config.mak
export VLC_EXTRA_CFLAGS="${EXTRA_CFLAGS}" export VLC_EXTRA_CFLAGS="${EXTRA_CFLAGS}"
make fetch make fetch
make make $MAKEFLAGS
cd ../.. && mkdir -p android && cd android cd ../.. && mkdir -p android && cd android
...@@ -208,7 +214,7 @@ echo "Configuring" ...@@ -208,7 +214,7 @@ echo "Configuring"
../../configure.sh $OPTS ../../configure.sh $OPTS
echo "Building" echo "Building"
make make $MAKEFLAGS
# 2/ VLC android UI and specific code # 2/ VLC android UI and specific code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment