diff options
author | Erich Eckner <git@eckner.net> | 2016-04-06 23:30:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-11 11:29:19 +0200 |
commit | c4f4b2799d1667b19988c79a3e086615eba163a4 (patch) | |
tree | 24e0219b6ca1f06c46831b1f8523aaca0fc221b9 | |
parent | 354be461adadd0baa483b3a6dbae54eb4e2e526b (diff) | |
download | archlinuxewe-c4f4b2799d1667b19988c79a3e086615eba163a4.tar.xz |
neu fuer ./configure
-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 2b611eac1..7f796e7c7 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 81e42ba79..d57d3f210 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 \ |