bug #157429
authorFrancesco Riosa <vivo@gentoo.org>
Sun, 10 Dec 2006 18:32:03 +0000 (18:32 +0000)
committerFrancesco Riosa <vivo@gentoo.org>
Sun, 10 Dec 2006 18:32:03 +0000 (18:32 +0000)
eclass/mysql.eclass

index 07692f813d6658cf4ca3b812ec748c8ca2352cac..e1824f8abc413612c3a3c3ca8128e0b0eb486309 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.47 2006/12/10 02:33:30 vivo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.48 2006/12/10 18:32:03 vivo Exp $
 
 # Author: Francesco Riosa <vivo@gentoo.org>
 # Maintainer: Luca Longinotti <chtekk@gentoo.org>
@@ -454,7 +454,7 @@ mysql_src_compile() {
        # glib-2.3.2_pre fix, bug #16496
        append-flags "-DHAVE_ERRNO_AS_DEFINE=1"
 
-       append-flags "-fno-exceptions -fno-strict-aliasing"
+       CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing"
        CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti"
        mysql_version_is_at_least "5.00.00.00" \
        && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"