Compare commits
5 Commits
93c9a1fd02
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 410b0acdb4 | |||
| 19d20b73be | |||
| 587e43ac6b | |||
| 45f8198c6d | |||
| cdc2e4aa43 |
+2
-2
@@ -12,7 +12,7 @@ runit()
|
||||
export PATH="${PREFIX}/bin:${PATH}"
|
||||
export OUT="`pwd`/out"
|
||||
export ARGS="--enable-multilib --enable-multiarch --enable-targets=all --disable-werror"
|
||||
if command -v nproc --version >/dev/null; then
|
||||
if command -v nproc >/dev/null; then
|
||||
export nproc="$(( `nproc --all` * 2 ))"
|
||||
elif command -v sysctl >/dev/null; then
|
||||
export nproc="$(( `sysctl -n hw.ncpu` * 2 ))"
|
||||
@@ -253,7 +253,7 @@ else
|
||||
case ${BASE} in
|
||||
1) export BASE="eabi"; break ;;
|
||||
2) if ask_for_sub; then choose_sub; export BASE="linux-${SUBBASE}"; break; else export BASE="linux"; break; fi ;;
|
||||
2) export BASE="elf"; break ;;
|
||||
3) export BASE="elf"; break ;;
|
||||
*) echo "ONLY USE \"1\", \"2\" or \"3\"!"; sleep 2 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user