Hide getconf errors
This commit is contained in:
parent
e1618774a8
commit
816cef5de4
@ -84,7 +84,7 @@ if [ "$NDK_PLATFORM" != "$NDK_PLATFORM_COMPAT" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
NPROCESSORS=$(getconf _NPROCESSORS_ONLN)
|
NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
|
||||||
PROCESSORS=${NPROCESSORS:-3}
|
PROCESSORS=${NPROCESSORS:-3}
|
||||||
|
|
||||||
make clean && \
|
make clean && \
|
||||||
|
@ -45,7 +45,7 @@ fi
|
|||||||
--prefix="$SIMULATOR32_PREFIX" || exit 1
|
--prefix="$SIMULATOR32_PREFIX" || exit 1
|
||||||
|
|
||||||
|
|
||||||
NPROCESSORS=$(getconf _NPROCESSORS_ONLN)
|
NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
|
||||||
PROCESSORS=${NPROCESSORS:-3}
|
PROCESSORS=${NPROCESSORS:-3}
|
||||||
|
|
||||||
make -j${PROCESSORS} install || exit 1
|
make -j${PROCESSORS} install || exit 1
|
||||||
|
@ -31,7 +31,7 @@ fi
|
|||||||
--prefix="$PREFIX" || exit 1
|
--prefix="$PREFIX" || exit 1
|
||||||
|
|
||||||
|
|
||||||
NPROCESSORS=$(getconf _NPROCESSORS_ONLN)
|
NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
|
||||||
PROCESSORS=${NPROCESSORS:-3}
|
PROCESSORS=${NPROCESSORS:-3}
|
||||||
|
|
||||||
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1
|
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1
|
||||||
|
@ -23,7 +23,7 @@ fi
|
|||||||
--disable-ssp --without-pthreads \
|
--disable-ssp --without-pthreads \
|
||||||
--prefix="$PREFIX" || exit 1
|
--prefix="$PREFIX" || exit 1
|
||||||
|
|
||||||
NPROCESSORS=$(getconf _NPROCESSORS_ONLN)
|
NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
|
||||||
PROCESSORS=${NPROCESSORS:-3}
|
PROCESSORS=${NPROCESSORS:-3}
|
||||||
|
|
||||||
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1
|
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1
|
||||||
|
@ -23,7 +23,7 @@ fi
|
|||||||
--prefix="$PREFIX" || exit 1
|
--prefix="$PREFIX" || exit 1
|
||||||
|
|
||||||
|
|
||||||
NPROCESSORS=$(getconf _NPROCESSORS_ONLN)
|
NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
|
||||||
PROCESSORS=${NPROCESSORS:-3}
|
PROCESSORS=${NPROCESSORS:-3}
|
||||||
|
|
||||||
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1
|
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1
|
||||||
|
@ -21,7 +21,7 @@ fi
|
|||||||
--prefix="$PREFIX" || exit 1
|
--prefix="$PREFIX" || exit 1
|
||||||
|
|
||||||
|
|
||||||
NPROCESSORS=$(getconf _NPROCESSORS_ONLN)
|
NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
|
||||||
PROCESSORS=${NPROCESSORS:-3}
|
PROCESSORS=${NPROCESSORS:-3}
|
||||||
|
|
||||||
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1
|
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user