[arch-commits] Commit in mysql/repos/extra-i686 (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Fri Nov 20 05:38:01 EST 2009


    Date: Friday, November 20, 2009 @ 05:38:01
  Author: andrea
Revision: 59139

Modified:
  mysql/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-20 08:01:53 UTC (rev 59138)
+++ PKGBUILD	2009-11-20 10:38:01 UTC (rev 59139)
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 58999 2009-11-19 02:03:21Z andrea $
+# $Id: PKGBUILD 59058 2009-11-20 02:22:47Z andrea $
 # Maintainer: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 # Contributor: judd <jvinet at zeroflux.org>
@@ -6,7 +6,7 @@
 pkgbase=mysql
 pkgname=('libmysqlclient' 'mysql-clients' 'mysql')
 pkgver=5.1.41
-pkgrel=2
+pkgrel=3
 pkgdesc="A fast SQL database server"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -25,6 +25,12 @@
 build() {
   cd ${srcdir}/${pkgbase}-${pkgver}
 
+  # fix build with gcc 4.4
+  # see http://bugs.archlinux.org/task/15242
+  # and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562
+  CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing"
+  CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing"
+
   ./configure --prefix=/usr \
     --libexecdir=/usr/sbin \
     --localstatedir=/var \



More information about the arch-commits mailing list