/[gentoo-x86]/eclass/mysql.eclass
Gentoo

Diff of /eclass/mysql.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.154 Revision 1.155
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.154 2010/10/28 20:46:11 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.155 2010/11/02 20:27:41 robbat2 Exp $
4 4
5# @ECLASS: mysql.eclass 5# @ECLASS: mysql.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 7# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
8# Maintainers: MySQL Team <mysql-bugs@gentoo.org> 8# Maintainers: MySQL Team <mysql-bugs@gentoo.org>
981 export CXXFLAGS 981 export CXXFLAGS
982 982
983 # bug #283926, with GCC4.4, this is required to get correct behavior. 983 # bug #283926, with GCC4.4, this is required to get correct behavior.
984 append-flags -fno-strict-aliasing 984 append-flags -fno-strict-aliasing
985 985
986 # bug #335185, with GCC4.5 on x86 only, omit-frame-pointer causes a 986 # bug #335185, #335995, with >= GCC4.3.3 on x86 only, omit-frame-pointer
987 # mis-compile 987 # causes a mis-compile.
988 use x86 && [[ "$(gcc-version)" == "4.5" ]] && \ 988 # Upstream bugs:
989 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562
990 # http://bugs.mysql.com/bug.php?id=45205
991 use x86 && version_is_at_least "4.3.3" "$(gcc-fullversion)" && \
989 append-flags -fno-omit-frame-pointer && \ 992 append-flags -fno-omit-frame-pointer && \
990 filter-flags -fomit-frame-pointer 993 filter-flags -fomit-frame-pointer
991 994
992 econf \ 995 econf \
993 --libexecdir="/usr/sbin" \ 996 --libexecdir="/usr/sbin" \

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.155

  ViewVC Help
Powered by ViewVC 1.1.20