diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-10-27 07:19:24 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-10-27 07:19:24 +0000 |
commit | 86493f9e120d8795824e396f9fcd7d4eee99e42a (patch) | |
tree | 4f566085d016d6cb6a72a88bbb486d2243540830 /eclass/mysql.eclass | |
parent | Stable for HPPA (bug #339791). (diff) | |
download | gentoo-2-86493f9e120d8795824e396f9fcd7d4eee99e42a.tar.gz gentoo-2-86493f9e120d8795824e396f9fcd7d4eee99e42a.tar.bz2 gentoo-2-86493f9e120d8795824e396f9fcd7d4eee99e42a.zip |
Bug #335185: block omit-frame-pointer due to miscompile.
Diffstat (limited to 'eclass/mysql.eclass')
-rw-r--r-- | eclass/mysql.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index ec4945391eeb..24039cfca607 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.152 2010/10/06 00:13:11 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.153 2010/10/27 07:19:24 robbat2 Exp $ # @ECLASS: mysql.eclass # @MAINTAINER: @@ -979,6 +979,12 @@ mysql_src_configure() { # bug #283926, with GCC4.4, this is required to get correct behavior. append-flags -fno-strict-aliasing + + # bug #335185, with GCC4.5 on x86 only, omit-frame-pointer causes a + # mis-compile + use x86 && [[ "$(gcc-version)" == "4.5" ]] && \ + append-flags -fno-omit-frame-pointer && \ + filter-flags -fomit-frame-pointer econf \ --libexecdir="/usr/sbin" \ |