mirror of
https://github.com/pret/agbcc.git
synced 2026-07-18 16:21:26 -05:00
restore devkitarm warning
This commit is contained in:
parent
3a31b19fad
commit
adf4f28774
6
build.sh
6
build.sh
|
|
@ -3,6 +3,12 @@ set -e
|
|||
CCOPT=
|
||||
CXXOPT=
|
||||
|
||||
# error if devkitarm is not installed and binutils-arm-none-eabi is not installed
|
||||
if ! ([ -n "$DEVKITARM" ] && [ -d "$DEVKITARM/bin" ]) && ! (command -v arm-none-eabi-as &> /dev/null && command -v arm-none-eabi-ar &> /dev/null) ; then
|
||||
echo "Could not find a binutils installation! Re-read the instructions and make sure you've installed either devkitARM or binutils-arm-none-eabi, depending on your system."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -z "$CC" ]; then CCOPT=CC=$CC; fi
|
||||
if [ ! -z "$CXX" ]; then CXXOPT=CXX=$CXX; fi
|
||||
make -C gcc clean
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user