Fixed parallel build somehow broken in NDK r8b.
This commit is contained in:
2
build.sh
2
build.sh
@@ -42,7 +42,7 @@ if uname -s | grep -i "windows" > /dev/null ; then
|
||||
fi
|
||||
|
||||
rm -r -f project/bin/* # New Android SDK introduced some lame-ass optimizations to the build system which we should take care about
|
||||
cd project && env PATH=$NDKBUILDPATH nice -n19 ndk-build -j$NCPU && \
|
||||
cd project && env PATH=$NDKBUILDPATH BUILD_NUM_CPUS=$NCPU nice -n19 ndk-build -j$NCPU && \
|
||||
{ grep "CustomBuildScript=y" ../AndroidAppSettings.cfg > /dev/null && \
|
||||
[ -`which ndk-build | xargs readlink -f | grep '/android-ndk-r[56789]'` != - ] && \
|
||||
echo Stripping libapplication.so by hand \
|
||||
|
||||
Reference in New Issue
Block a user