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

Diff of /eclass/mysql.eclass

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

Revision 1.33 Revision 1.34
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.33 2006/08/31 21:37:03 chtekk Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.34 2006/10/13 12:36:08 chtekk 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
408 408
409 # glib-2.3.2_pre fix, bug #16496 409 # glib-2.3.2_pre fix, bug #16496
410 append-flags "-DHAVE_ERRNO_AS_DEFINE=1" 410 append-flags "-DHAVE_ERRNO_AS_DEFINE=1"
411 411
412 # The compiler flags are as their "official" spec says ;) 412 # The compiler flags are as their "official" spec says ;)
413 # CFLAGS="${CFLAGS/-O?/} -O3" 413 append-flags "-fno-exceptions -fno-strict-aliasing"
414 export CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-exceptions -fno-rtti" 414 CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti"
415 mysql_version_is_at_least "5.00.00.00" \ 415 mysql_version_is_at_least "5.00.00.00" \
416 && export CXXFLAGS="${CXXFLAGS} -fno-implicit-templates" 416 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"
417 export CXXFLAGS="${CXXFLAGS}"
417 418
418 econf \ 419 econf \
419 --libexecdir="/usr/sbin" \ 420 --libexecdir="/usr/sbin" \
420 --sysconfdir="${MY_SYSCONFDIR}" \ 421 --sysconfdir="${MY_SYSCONFDIR}" \
421 --localstatedir="${MY_LOCALSTATEDIR}" \ 422 --localstatedir="${MY_LOCALSTATEDIR}" \

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20