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 | e9aed37a723a778948052936e27db045b1ce7540 (patch) | |
tree | 6696e4f024cad91d1b39df5d7330617f84a2e5d9 /eclass | |
parent | Stable for HPPA (bug #339791). (diff) | |
download | historical-e9aed37a723a778948052936e27db045b1ce7540.tar.gz historical-e9aed37a723a778948052936e27db045b1ce7540.tar.bz2 historical-e9aed37a723a778948052936e27db045b1ce7540.zip |
Bug #335185: block omit-frame-pointer due to miscompile.
Diffstat (limited to '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" \ |