mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2025-05-31 16:05:11 +02:00
fxsdk: forward errors during make
This commit is contained in:
parent
0db7ae9e2b
commit
c3d9b53758
1 changed files with 6 additions and 0 deletions
|
@ -179,10 +179,16 @@ fxsdk_build_in() {
|
||||||
fi
|
fi
|
||||||
if [[ -z "$configure" ]]; then
|
if [[ -z "$configure" ]]; then
|
||||||
make --no-print-directory -C "build-$platform" "${make_extra_args[@]}"
|
make --no-print-directory -C "build-$platform" "${make_extra_args[@]}"
|
||||||
|
rc=$?
|
||||||
fi
|
fi
|
||||||
# Makefile version
|
# Makefile version
|
||||||
else
|
else
|
||||||
make "all-$platform" "$@"
|
make "all-$platform" "$@"
|
||||||
|
rc=$?
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $rc != 0 ]]; then
|
||||||
|
return $rc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -z "$send" ]]; then
|
if [[ ! -z "$send" ]]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue