summaryrefslogtreecommitdiff
path: root/extra/glib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glib/PKGBUILD')
-rw-r--r--extra/glib/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/glib/PKGBUILD b/extra/glib/PKGBUILD
index 120a737cb..14c76e55c 100644
--- a/extra/glib/PKGBUILD
+++ b/extra/glib/PKGBUILD
@@ -31,6 +31,8 @@ build() {
CONFIGFLAG='--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu'
elif [[ $CARCH = "x86_64" ]]; then
CONFIGFLAG='--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu'
+ else
+ CONFIGFLAG="--host=$CHOST --target=$CHOST"
fi
autoreconf --force --install