mingw setup script: make ARCHITECTURE overridable

This commit is contained in:
Moritz Bunkus 2017-07-09 10:04:35 +02:00
parent 2b8301e9f2
commit f86248b676

View File

@ -9,12 +9,12 @@ set -e
#
# SETUP -- adjust these variables if neccessary.
# You can also override them from the command line:
# INSTALL_DIR=/opt/mingw ./setup_cross_compilation_env.sh
# INSTALL_DIR=/opt/mingw ARCHITECTURE=32 ./setup_cross_compilation_env.sh
#
# This defaults to a 64bit executable. If you need a 32bit executable
# then change ARCHITECTURE to 32.
ARCHITECTURE=64
ARCHITECTURE=${ARCHITECTURE:-64}
# Installation defaults to ~/mxe.
INSTALL_DIR=${INSTALL_DIR:-$HOME/mxe}
# Leave PARALLEL empty if you want the script to use all of your CPU