diff options
author | George Shapovalov <george@gentoo.org> | 2011-05-23 14:09:04 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2011-05-23 14:09:04 +0000 |
commit | ab654e18365540425174378525511b61c14bc80c (patch) | |
tree | abac2879e3d6564629845760fcc3d299587c44f4 /eclass | |
parent | x86 stable per bug 364849 (diff) | |
download | gentoo-2-ab654e18365540425174378525511b61c14bc80c.tar.gz gentoo-2-ab654e18365540425174378525511b61c14bc80c.tar.bz2 gentoo-2-ab654e18365540425174378525511b61c14bc80c.zip |
prepping for updated bootstrap
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnatbuild.eclass | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass index c71bdae88799..a76f369de7c3 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.51 2011/03/10 19:36:24 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.52 2011/05/23 14:09:04 george Exp $ # # Author: George Shapovalov <george@gentoo.org> # Belongs to: ada herd <ada@gentoo.org> @@ -436,9 +436,12 @@ gnatbuild_src_compile() { fi export CC="${GNATBOOT}/bin/gnatgcc" - export INCLUDE_DIR="${GNATLIB}/include" - export C_INCLUDE_PATH="${GNATLIB}/include" - export CPLUS_INCLUDE_PATH="${GNATLIB}/include" + # CPATH is supposed to be applied for any language, thus + # superceding either of C/CPLUS/OBJC_INCLUDE_PATHs + export CPATH="${GNATLIB}/include" + #export INCLUDE_DIR="${GNATLIB}/include" + #export C_INCLUDE_PATH="${GNATLIB}/include" + #export CPLUS_INCLUDE_PATH="${GNATLIB}/include" export LIB_DIR="${GNATLIB}" export LDFLAGS="-L${GNATLIB}" |