build: When courageous, do build libgetopt and libtcc1.

* build-aux/build-lib.sh: Move building of libc+gnu and courageous exit
down.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2022-10-18 07:34:27 +02:00
parent 358ae145ab
commit 5fc5983e50
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -64,16 +64,6 @@ if test -e libc+tcc.s; then
cp libc+tcc.s $mes_cpu-mes
fi
if $courageous; then
exit 0
fi
archive libc+gnu.a $libc_gnu_SOURCES
cp libc+gnu.a $mes_cpu-mes
if test -e libc+gnu.s; then
cp libc+gnu.s $mes_cpu-mes
fi
archive libtcc1.a $libtcc1_SOURCES
cp libtcc1.a $mes_cpu-mes
if test -e libtcc1.s; then
@ -85,3 +75,13 @@ cp libgetopt.a $mes_cpu-mes
if test -e libgetopt.s; then
cp libgetopt.s $mes_cpu-mes
fi
if $courageous; then
exit 0
fi
archive libc+gnu.a $libc_gnu_SOURCES
cp libc+gnu.a $mes_cpu-mes
if test -e libc+gnu.s; then
cp libc+gnu.s $mes_cpu-mes
fi