diff options
author | Vincent Celier <celier@adacore.com> | 2009-07-10 11:10:20 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-10 11:10:20 +0200 |
commit | 9d9dacaa9e0ea74d30aa2fe3227d7497d60f3176 (patch) | |
tree | 188675c09185eb1418d319c14228d09f66a31b80 | |
parent | c53265937acc1bc646f5c70ec45676217d07f533 (diff) | |
download | gcc-9d9dacaa9e0ea74d30aa2fe3227d7497d60f3176.zip gcc-9d9dacaa9e0ea74d30aa2fe3227d7497d60f3176.tar.gz gcc-9d9dacaa9e0ea74d30aa2fe3227d7497d60f3176.tar.bz2 |
make.adb: Do not include object directories or library ALI directories of library...
2009-07-10 Vincent Celier <celier@adacore.com>
* make.adb: Do not include object directories or library ALI
directories of library projects in the object path.
From-SVN: r149460
-rw-r--r-- | gcc/ada/make.adb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb index 5c689bd..f08c680 100644 --- a/gcc/ada/make.adb +++ b/gcc/ada/make.adb @@ -6051,9 +6051,10 @@ package body Make is if Main_Project /= No_Project then -- Put all the source directories in ADA_INCLUDE_PATH, - -- and all the object directories in ADA_OBJECTS_PATH. + -- and all the object directories in ADA_OBJECTS_PATH, + -- except those of library projects. - Prj.Env.Set_Ada_Paths (Main_Project, Project_Tree, True); + Prj.Env.Set_Ada_Paths (Main_Project, Project_Tree, False); -- If switch -C was specified, create a binder mapping file |