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

Andrea Scarpino andrea at nymeria.archlinux.org
Wed May 8 03:05:18 EDT 2013


    Date: Wednesday, May 8, 2013 @ 09:05:18
  Author: andrea
Revision: 184761

Disable SSE2 on i686 (FS#34612)

Modified:
  xerces-c/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-07 23:25:13 UTC (rev 184760)
+++ PKGBUILD	2013-05-08 07:05:18 UTC (rev 184761)
@@ -6,7 +6,7 @@
 
 pkgname=xerces-c
 pkgver=3.1.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A validating XML parser written in a portable subset of C++"
 arch=('i686' 'x86_64')
 url="http://xerces.apache.org/xerces-c/"
@@ -18,8 +18,11 @@
 
 build() {
   cd ${pkgname}-${pkgver}
+
+  [[ "${CARCH}" = "i686" ]] && SSE2="--disable-sse2"
+
   ./configure --prefix=/usr \
-    --sysconfdir=/etc
+    --sysconfdir=/etc ${SSE2}
   make
 }
 



More information about the arch-commits mailing list