diff options
Diffstat (limited to 'default.conf')
-rw-r--r-- | default.conf | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/default.conf b/default.conf index 8ecfb3c..e28de34 100644 --- a/default.conf +++ b/default.conf @@ -50,9 +50,13 @@ ARCHLINUX32_PACKAGES=$CROSS_HOME/packages32 SCRIPT=$(sudo realpath -s "$0") SCRIPT_DIR=$(dirname "$SCRIPT") -if test $(uname -m) = "x86_64"; then +# CPU we build on +BUILD_CPU=$(uname -m) + +# the asp is different per platform +if test $BUILD_CPU = "x86_64"; then ASP=asp fi -if test $(uname -m) = "i686"; then +if test $BUILD_CPU = "i686"; then ASP=asp32 fi |