From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass |
Date: | Tue, 08 Sep 2009 05:28:06 |
Message-Id: | E1MktFM-0000sL-3z@stork.gentoo.org |
1 | robbat2 09/09/08 05:28:04 |
2 | |
3 | Modified: mysql.eclass |
4 | Log: |
5 | Bug #283926: GCC4.4 causes libmysqlclient users to potentially have bad behavior. |
6 | |
7 | Revision Changes Path |
8 | 1.115 eclass/mysql.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.115&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.115&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.114&r2=1.115 |
13 | |
14 | Index: mysql.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v |
17 | retrieving revision 1.114 |
18 | retrieving revision 1.115 |
19 | diff -p -w -b -B -u -u -r1.114 -r1.115 |
20 | --- mysql.eclass 6 Jul 2009 19:06:03 -0000 1.114 |
21 | +++ mysql.eclass 8 Sep 2009 05:28:03 -0000 1.115 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2007 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.114 2009/07/06 19:06:03 robbat2 Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.115 2009/09/08 05:28:03 robbat2 Exp $ |
27 | |
28 | # Author: Francesco Riosa (Retired) <vivo@g.o> |
29 | # Maintainer: MySQL Team <mysql-bugs@g.o> |
30 | @@ -626,6 +626,9 @@ mysql_src_configure() { |
31 | && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates" |
32 | export CXXFLAGS |
33 | |
34 | + # bug #283926, with GCC4.4, this is required to get correct behavior. |
35 | + append-flags -fno-strict-aliasing |
36 | + |
37 | econf \ |
38 | --libexecdir="/usr/sbin" \ |
39 | --sysconfdir="${MY_SYSCONFDIR}" \ |