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

Diff of /eclass/mysql.eclass

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

Revision 1.47 Revision 1.48
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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.47 2006/12/10 02:33:30 vivo Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.48 2006/12/10 18:32:03 vivo Exp $
4 4
5# Author: Francesco Riosa <vivo@gentoo.org> 5# Author: Francesco Riosa <vivo@gentoo.org>
6# Maintainer: Luca Longinotti <chtekk@gentoo.org> 6# Maintainer: Luca Longinotti <chtekk@gentoo.org>
7 7
8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too 8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too
452 filter-flags "-O" "-O[01]" 452 filter-flags "-O" "-O[01]"
453 453
454 # glib-2.3.2_pre fix, bug #16496 454 # glib-2.3.2_pre fix, bug #16496
455 append-flags "-DHAVE_ERRNO_AS_DEFINE=1" 455 append-flags "-DHAVE_ERRNO_AS_DEFINE=1"
456 456
457 append-flags "-fno-exceptions -fno-strict-aliasing" 457 CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing"
458 CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti" 458 CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti"
459 mysql_version_is_at_least "5.00.00.00" \ 459 mysql_version_is_at_least "5.00.00.00" \
460 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates" 460 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"
461 export CXXFLAGS 461 export CXXFLAGS
462 462

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20