[arch-commits] Commit in sshfs/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Jul 9 08:27:27 UTC 2017


    Date: Sunday, July 9, 2017 @ 08:27:27
  Author: arojas
Revision: 243390

Fix i686 build

Modified:
  sshfs/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-09 08:12:17 UTC (rev 243389)
+++ PKGBUILD	2017-07-09 08:27:27 UTC (rev 243390)
@@ -6,7 +6,7 @@
 pkgver=3.0.0
 pkgrel=1
 pkgdesc="FUSE client based on the SSH File Transfer Protocol"
-arch=(x86_64)
+arch=(x86_64 i686)
 url="http://github.com/libfuse/sshfs"
 license=(GPL)
 depends=(fuse3 glib2 openssh)
@@ -18,6 +18,7 @@
 build() {
   cd $pkgname-$pkgver
 
+  [[ $CARCH == 'i686' ]] && export CFLAGS+=" -D_FILE_OFFSET_BITS=64"
   ./configure --prefix=/usr
   make
 }



More information about the arch-commits mailing list