mirror of
https://github.com/libretro/libretro-super
synced 2025-01-29 12:32:41 +00:00
Pass -j instead to cmake for Android - more portable
This commit is contained in:
parent
210c57dee7
commit
05d38ad11f
@ -454,7 +454,7 @@ build_libretro_android_cmake() {
|
||||
PLATFORM="$5"
|
||||
ARGS="$6"
|
||||
|
||||
JOBS_FLAG=--parallel
|
||||
JOBS_FLAG=-j
|
||||
EXTRAARGS="-DANDROID_PLATFORM=android-${API_LEVEL} -DCMAKE_TOOLCHAIN_FILE=${NDK_ROOT}/build/cmake/android.toolchain.cmake -DANDROID_STL=c++_static"
|
||||
|
||||
if [ -n "NDK_CCACHE" ]; then
|
||||
@ -487,8 +487,8 @@ build_libretro_android_cmake() {
|
||||
echo "BUILD CMD: ${CMAKE} $*" 2>&1 | tee -a "$LOGFILE"
|
||||
echo "$@" ../.. | xargs ${CMAKE} 2>&1 | tee -a "$LOGFILE"
|
||||
|
||||
echo "BUILD CMD: ${CMAKE} --build . ${JOBS_FLAG} ${JOBS} --target ${NAME}_libretro --config Release --" 2>&1 | tee -a "$LOGFILE"
|
||||
${CMAKE} --build . ${JOBS_FLAG} ${JOBS} --target ${NAME}_libretro --config Release -- 2>&1 | tee -a "$LOGFILE"
|
||||
echo "BUILD CMD: ${CMAKE} --build . --target ${NAME}_libretro --config Release -- ${JOBS_FLAG} ${JOBS} " 2>&1 | tee -a "$LOGFILE"
|
||||
${CMAKE} --build . --target ${NAME}_libretro --config Release -- ${JOBS_FLAG} ${JOBS} 2>&1 | tee -a "$LOGFILE"
|
||||
|
||||
COREPATH=$(find . -type f -name ${CORENAM})
|
||||
if [ -n "${COREPATH}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user