From c4f4b2799d1667b19988c79a3e086615eba163a4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 Apr 2016 23:30:44 +0200 Subject: neu fuer ./configure --- archPackagesUpdate | 6 +++++- openttd-svn/PKGBUILD | 3 ++- 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 \ -- cgit v1.2.3-70-g09d2