mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-23 21:11:32 +01:00
Build gcc if not found
if the OS is Darwin and the chosen toolchan is GCC53
This commit is contained in:
parent
fb2819d6c5
commit
3643e4a0da
7
buildme
7
buildme
@ -24,7 +24,12 @@ local GCC53_BIN="$TOOLCHAIN_DIR/cross/bin/x86_64-clover-linux-gnu-gcc"
|
||||
# in Linux ebuild.sh force to use the CGG toolchain
|
||||
if [[ "$(uname)" == Darwin ]]; then
|
||||
if [[ $MYTOOLCHAIN == GCC* ]] && [[ ! -x "${GCC53_BIN}" ]]; then
|
||||
MYTOOLCHAIN=XCODE8
|
||||
if [[ $MYTOOLCHAIN == GCC53 ]]; then
|
||||
cd "${CLOVERROOT}"
|
||||
./build_gcc9.sh
|
||||
else
|
||||
MYTOOLCHAIN=XCODE8
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user