Added stdcxx_incdir to eselect conf.
authorJeremy Huddleston <eradicator@gentoo.org>
Wed, 5 Oct 2005 06:23:26 +0000 (06:23 +0000)
committerJeremy Huddleston <eradicator@gentoo.org>
Wed, 5 Oct 2005 06:23:26 +0000 (06:23 +0000)
eclass/toolchain.eclass

index 5335552855f09af9fc4c42b8813e1bd0a958edd0..0f30f2c8d046ca032d322b4680fc96f59436c1e7 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.198 2005/10/01 21:27:15 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.199 2005/10/05 06:23:26 eradicator Exp $
 
 HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
 LICENSE="GPL-2 LGPL-2.1"
@@ -767,6 +767,7 @@ create_eselect_conf() {
        echo "  manpath=${DATAPATH}/man" >> ${compiler_config_file}
        echo "  infopath=${DATAPATH}/info" >> ${compiler_config_file}
        echo "  alias_cc=gcc" >> ${compiler_config_file}
+       echo "  stdcxx_incdir=${STDCXX_INCDIR##*/}" >> ${compiler_config_file}
 
        if [[ -x "${D}/${BINPATH}/${CTARGET}-g77" ]] ; then
                echo "  alias_gfortran=g77" >> ${compiler_config_file}