diff options
-rwxr-xr-x | archPackagesUpdate | 6 | ||||
-rwxr-xr-x | 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 \ |