summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-09-08 05:28:03 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-09-08 05:28:03 +0000
commit8d8d132f51ba5cbb8a02d76d4ca4c76cdd3654c3 (patch)
tree6ac121ead797293f11b38616daebd46280d8973e /eclass
parentVersion bump. Set SUPPORT_PYTHON_ABIS. (diff)
downloadgentoo-2-8d8d132f51ba5cbb8a02d76d4ca4c76cdd3654c3.tar.gz
gentoo-2-8d8d132f51ba5cbb8a02d76d4ca4c76cdd3654c3.tar.bz2
gentoo-2-8d8d132f51ba5cbb8a02d76d4ca4c76cdd3654c3.zip
Bug #283926: GCC4.4 causes libmysqlclient users to potentially have bad behavior.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mysql.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 2520abd8550f..3b0d746e53ff 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.114 2009/07/06 19:06:03 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.115 2009/09/08 05:28:03 robbat2 Exp $
# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
# Maintainer: MySQL Team <mysql-bugs@gentoo.org>
@@ -626,6 +626,9 @@ mysql_src_configure() {
&& CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"
export CXXFLAGS
+ # bug #283926, with GCC4.4, this is required to get correct behavior.
+ append-flags -fno-strict-aliasing
+
econf \
--libexecdir="/usr/sbin" \
--sysconfdir="${MY_SYSCONFDIR}" \