summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-06 23:30:44 +0200
committerErich Eckner <git@eckner.net>2016-04-11 11:29:19 +0200
commitc4f4b2799d1667b19988c79a3e086615eba163a4 (patch)
tree24e0219b6ca1f06c46831b1f8523aaca0fc221b9
parent354be461adadd0baa483b3a6dbae54eb4e2e526b (diff)
downloadarchlinuxewe.git.save-c4f4b2799d1667b19988c79a3e086615eba163a4.tar.xz
neu fuer ./configure
-rwxr-xr-xarchPackagesUpdate6
-rwxr-xr-xopenttd-svn/PKGBUILD3
2 files changed, 7 insertions, 2 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 2b611eac..7f796e7c 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -157,7 +157,11 @@ then
if [ "${arch}" == "i686" ]
then
# 32-bit is built in chroot
- echo 'cd "'"${tmpDir}/${paket}"'" && makepkg -fcsr --noconfirm && exit' | \
+ echo '\
+ cd "'"${tmpDir}/${paket}"'" && \
+ _targetHost='\''--host=i686-pc-linux-gnu'\'' makepkg -fcsr --noconfirm && \
+ exit\
+ ' | \
chrootUnpriv
err[${i}]=$?
else
diff --git a/openttd-svn/PKGBUILD b/openttd-svn/PKGBUILD
index 81e42ba7..d57d3f21 100755
--- a/openttd-svn/PKGBUILD
+++ b/openttd-svn/PKGBUILD
@@ -66,7 +66,8 @@ prepare() {
build() {
cd trunk
- ./configure --prefix-dir=/usr \
+ ./configure ${_targetHost} \
+ --prefix-dir=/usr \
--binary-dir=bin \
--data-dir=share/openttd \
--icon-dir=share/openttd \