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

Diff of /eclass/mysql.eclass

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

Revision 1.100 Revision 1.101
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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.100 2008/11/14 22:07:03 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.101 2008/11/20 20:44:33 robbat2 Exp $
4 4
5# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 5# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
6# Maintainer: MySQL Team <mysql-bugs@gentoo.org> 6# Maintainer: MySQL Team <mysql-bugs@gentoo.org>
7# - Luca Longinotti <chtekk@gentoo.org> 7# - Luca Longinotti <chtekk@gentoo.org>
8# - Robin H. Johnson <robbat2@gentoo.org> 8# - Robin H. Johnson <robbat2@gentoo.org>
641 # Bug #114895, bug #110149 641 # Bug #114895, bug #110149
642 filter-flags "-O" "-O[01]" 642 filter-flags "-O" "-O[01]"
643 643
644 # glib-2.3.2_pre fix, bug #16496 644 # glib-2.3.2_pre fix, bug #16496
645 append-flags "-DHAVE_ERRNO_AS_DEFINE=1" 645 append-flags "-DHAVE_ERRNO_AS_DEFINE=1"
646
647 # As discovered by bug #246652, doing a double-level of SSP causes NDB to
648 # fail badly during cluster startup.
649 if [[ $(gcc-major-version) -lt 4 ]]; then
650 filter-flags "-fstack-protector-all"
651 fi
646 652
647 CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing" 653 CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing"
648 CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti" 654 CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti"
649 mysql_version_is_at_least "5.0" \ 655 mysql_version_is_at_least "5.0" \
650 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates" 656 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101

  ViewVC Help
Powered by ViewVC 1.1.20