[ox] Fix setup_build script for GBA

This commit is contained in:
Gary Talent 2019-03-18 22:33:09 -05:00
parent b229645dd3
commit 2830eb76b6

View File

@ -8,9 +8,9 @@ TARGET=$1
BUILD_TYPE=$2 BUILD_TYPE=$2
if [[ $TARGET == windows ]]; then if [[ $TARGET == windows ]]; then
toolchain="-DCMAKE_TOOLCHAIN_FILE=cmake/Modules/Mingw.cmake" toolchain="-DCMAKE_TOOLCHAIN_FILE=cmake/modules/Mingw.cmake"
elif [[ $TARGET == gba ]]; then elif [[ $TARGET == gba ]]; then
toolchain="-DCMAKE_TOOLCHAIN_FILE=cmake/Modules/GBA.cmake -DOX_USE_STDLIB=OFF -DCMAKE_INSTALL_PREFIX=$DEVKITARM" toolchain="-DCMAKE_TOOLCHAIN_FILE=cmake/modules/GBA.cmake -DOX_USE_STDLIB=OFF -DCMAKE_INSTALL_PREFIX=$DEVKITARM"
fi fi
if [[ $BUILD_TYPE == asan ]]; then if [[ $BUILD_TYPE == asan ]]; then