1 |
robbat2 10/10/27 07:19:24 |
2 |
|
3 |
Modified: mysql.eclass |
4 |
Log: |
5 |
Bug #335185: block omit-frame-pointer due to miscompile. |
6 |
|
7 |
Revision Changes Path |
8 |
1.153 eclass/mysql.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql.eclass?rev=1.153&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql.eclass?rev=1.153&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql.eclass?r1=1.152&r2=1.153 |
13 |
|
14 |
Index: mysql.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v |
17 |
retrieving revision 1.152 |
18 |
retrieving revision 1.153 |
19 |
diff -p -w -b -B -u -u -r1.152 -r1.153 |
20 |
--- mysql.eclass 6 Oct 2010 00:13:11 -0000 1.152 |
21 |
+++ mysql.eclass 27 Oct 2010 07:19:24 -0000 1.153 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2009 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.152 2010/10/06 00:13:11 robbat2 Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.153 2010/10/27 07:19:24 robbat2 Exp $ |
27 |
|
28 |
# @ECLASS: mysql.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -980,6 +980,12 @@ mysql_src_configure() { |
31 |
# bug #283926, with GCC4.4, this is required to get correct behavior. |
32 |
append-flags -fno-strict-aliasing |
33 |
|
34 |
+ # bug #335185, with GCC4.5 on x86 only, omit-frame-pointer causes a |
35 |
+ # mis-compile |
36 |
+ use x86 && [[ "$(gcc-version)" == "4.5" ]] && \ |
37 |
+ append-flags -fno-omit-frame-pointer && \ |
38 |
+ filter-flags -fomit-frame-pointer |
39 |
+ |
40 |
econf \ |
41 |
--libexecdir="/usr/sbin" \ |
42 |
--sysconfdir="${MY_SYSCONFDIR}" \ |