diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2011-10-15 20:35:41 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2011-10-15 20:35:41 +0200 |
commit | 7e22ca3906121dd4eb3fc28380a411ae64946da0 (patch) | |
tree | 65e6917151c97f4b20fd315ba4842997c1f48004 /extra/sane/PKGBUILD | |
parent | ea184b4b2f1d068c1606ba2ea8b5d65ecc160400 (diff) |
Don't disable sane optimizations in future.
Diffstat (limited to 'extra/sane/PKGBUILD')
-rw-r--r-- | extra/sane/PKGBUILD | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/extra/sane/PKGBUILD b/extra/sane/PKGBUILD index 49d0f1480..d1eda7ab0 100644 --- a/extra/sane/PKGBUILD +++ b/extra/sane/PKGBUILD @@ -28,20 +28,12 @@ build() { # fix https://bugs.archlinux.org/task/26114 patch -Np1 -i "${srcdir}"/xerox_mfp_fix_usb_devices.patch - if [ ${CARCH} == 'mips64el' ]; then - export CFLAGS="${CFLAGS} -O1" - EXTRAOPTS="--without-snmp" - else - EXTRAOPTS="" - fi - ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-docdir=/usr/share/doc/sane \ --enable-avahi \ - --disable-locking \ - $EXTRAOPTS + --disable-locking make } |