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

Giovanni Scafora giovanni at archlinux.org
Fri Nov 20 06:18:17 EST 2009


    Date: Friday, November 20, 2009 @ 06:18:17
  Author: giovanni
Revision: 59140

Merged revisions 59058 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/mysql/trunk

........
  r59058 | andrea | 2009-11-19 18:22:47 -0800 (gio, 19 nov 2009) | 2 lines
  
  upgpkg: mysql 5.1.41-3
      fix build with gcc 4.4
........

Modified:
  mysql/repos/extra-x86_64/	(properties)
  mysql/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


Property changes on: mysql/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /mysql/trunk:1-59015
   + /mysql/trunk:1-59139

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-11-20 10:38:01 UTC (rev 59139)
+++ extra-x86_64/PKGBUILD	2009-11-20 11:18:17 UTC (rev 59140)
@@ -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