1
1
Fork 0

zshrc: Fix "cross switch"

This commit is contained in:
Jonathan Schleifer 2022-07-17 16:51:14 +00:00
parent 0fbc52e06f
commit 6ecdbc44c1

4
zshrc
View file

@ -546,14 +546,14 @@ cross() {
echo "Please set DEVKITPRO!"
return 1
fi
if [ -z $"DEVKITA64" ]; then
if [ -z "$DEVKITA64" ]; then
echo "Please set DEVKITA64!"
return 1
fi
export PATH="$DEVKITA64/bin:$PATH"
export cross_host="aarch64-none-elf"
export objfw_configure_flags="--with-$1"
export objfw_configure_flags="--with-nintendo-switch"
;;
wii | wii-u)
if [ -z "$DEVKITPRO" ]; then