diff options
author | George Shapovalov <george@gentoo.org> | 2006-03-20 14:57:41 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2006-03-20 14:57:41 +0000 |
commit | fe2807e752c3cd2eb4613b24fe824b67c2ebd42c (patch) | |
tree | bf05e28f190b480f5ad0415c5b74836fa3b5a414 /eclass/gnatbuild.eclass | |
parent | Bug 126959, use-flag abuse curtailed. thanks Halcy0n (diff) | |
download | historical-fe2807e752c3cd2eb4613b24fe824b67c2ebd42c.tar.gz historical-fe2807e752c3cd2eb4613b24fe824b67c2ebd42c.tar.bz2 historical-fe2807e752c3cd2eb4613b24fe824b67c2ebd42c.zip |
fixes to isolate bootstrap environment better
Diffstat (limited to 'eclass/gnatbuild.eclass')
-rw-r--r-- | eclass/gnatbuild.eclass | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass index 7ed8c24470b3..db4dddf76872 100644 --- a/eclass/gnatbuild.eclass +++ b/eclass/gnatbuild.eclass @@ -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/gnatbuild.eclass,v 1.5 2006/02/17 22:18:20 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.6 2006/03/20 14:57:41 george Exp $ # ATTN! # set HOMEPAGE and LICENSE in appropriate ebuild, as we have @@ -343,10 +343,18 @@ gnatbuild_src_compile() { fi export CC="${GNATBOOT}/bin/gnatgcc" + export INCLUDE_DIR="${GNATLIB}/include" + export LIB_DIR="${GNATLIB}" + export LDFLAGS="-L${GNATLIB}" + + # additional vars from gnuada and elsewhere + export LD_RUN_PATH="${LIBPATH}" + export LIBRARY_PATH="${GNATLIB}" + export LD_LIBRARY_PATH="${GNATLIB}" + export COMPILER_PATH="${GNATBOOT}/bin/" export ADA_OBJECTS_PATH="${GNATLIB}/adalib" export ADA_INCLUDE_PATH="${GNATLIB}/adainclude" - export LDFLAGS="-L${GNATLIB}" # if [ "2.8.1" == ${GCCVER} ]; then # export BINUTILS_ROOT="${GNATBOOT}" |