From 9d9dacaa9e0ea74d30aa2fe3227d7497d60f3176 Mon Sep 17 00:00:00 2001 From: Vincent Celier Date: Fri, 10 Jul 2009 11:10:20 +0200 Subject: make.adb: Do not include object directories or library ALI directories of library... 2009-07-10 Vincent Celier * make.adb: Do not include object directories or library ALI directories of library projects in the object path. From-SVN: r149460 --- gcc/ada/make.adb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/ada/make.adb') 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 -- cgit v1.1