mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-26 12:05:36 +01:00
Fixed GCC compilation in macOS
This commit is contained in:
parent
8ea0bc5658
commit
7e526c275b
1
.gitignore
vendored
1
.gitignore
vendored
@ -73,3 +73,4 @@ CloverPrefpane.strings
|
||||
|
||||
BaseTools/Source/Python/build/BuildReport.pyc
|
||||
Conf/BuildEnv.sh
|
||||
BaseTools/Source/Python/build/BuildReport.pyc
|
||||
|
Binary file not shown.
@ -417,6 +417,13 @@ checkToolchain() {
|
||||
echo "Install on your system or define the TOOLCHAIN_DIR variable." >&2
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
export GCC53_BIN="$TOOLCHAIN_DIR/cross/bin/x86_64-clover-linux-gnu-"
|
||||
if [[ $TOOLCHAIN == GCC* ]] && [[ ! -x "${GCC53_BIN}gcc" ]]; then
|
||||
echo "No clover toolchain found !" >&2
|
||||
echo "Build it with the build_gcc8.sh script or define the TOOLCHAIN_DIR variable." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -x "/opt/local/bin/nasm" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user