[arch-commits] CVS update of arch/build/system/bc (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Tue May 29 14:53:28 UTC 2007


    Date: Tuesday, May 29, 2007 @ 10:53:28
  Author: pierre
    Path: /home/cvs-arch/arch/build/system/bc

Modified: PKGBUILD (1.12 -> 1.13)

upgpkg: bc 1.06-4
-muse -O3 instead of -O0 to speed up bc for x86_64 and fix bug #7281 for i686


----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


Index: arch/build/system/bc/PKGBUILD
diff -u arch/build/system/bc/PKGBUILD:1.12 arch/build/system/bc/PKGBUILD:1.13
--- arch/build/system/bc/PKGBUILD:1.12	Tue Mar 27 12:56:37 2007
+++ arch/build/system/bc/PKGBUILD	Tue May 29 10:53:28 2007
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.12 2007/03/27 16:56:37 jgc Exp $
+# $Id: PKGBUILD,v 1.13 2007/05/29 14:53:28 pierre Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 
 pkgname=bc
 pkgver=1.06
-pkgrel=3
+pkgrel=4
 pkgdesc="An arbitrary precision calculator language"
 arch=(i686 x86_64)
 license=('GPL')
@@ -15,7 +15,7 @@
 md5sums=('d44b5dddebd8a7a7309aea6c36fda117' 'fc7ecbd9e55ef04c6d3a495692626116')
 
 build() {
-  [ "${CARCH}" = "x86_64" ] && CFLAGS="-march=x86-64 -O0 -pipe"
+  CFLAGS="$CFLAGS -O3"
   cd ${startdir}/src/${pkgname}-${pkgver}
   patch -Np1 -i ${startdir}/src/build-fix.patch || return 1
   ./configure --prefix=/usr --with-readline




More information about the arch-commits mailing list