diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-05 09:26:00 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-05 09:26:00 +0000 |
commit | faabb4a757f8201e0593e7645c95a4d9be437967 (patch) | |
tree | d6903f3f2b63fe455d17e373f993509b5a0bf01c /gcc/ada/clean.adb | |
parent | cd3c2a98c257164bfefefd6d7dd055ec4592deae (diff) | |
download | gcc-faabb4a757f8201e0593e7645c95a4d9be437967.tar.gz |
2010-10-05 Emmanuel Briot <briot@adacore.com>
* gnatcmd.adb, prj-proc.adb, prj-part.adb, prj-ext.adb, prj-ext.ads,
switch-m.adb, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-env.adb,
prj-env.ads, prj-tree.adb, prj-tree.ads (Project_Search_Path): New type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164969 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/clean.adb')
-rw-r--r-- | gcc/ada/clean.adb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/clean.adb b/gcc/ada/clean.adb index f3a1e2fb7a7..8174e91e5ed 100644 --- a/gcc/ada/clean.adb +++ b/gcc/ada/clean.adb @@ -1692,8 +1692,9 @@ package body Clean is Add_Lib_Search_Dir (Arg (4 .. Arg'Last)); elsif Arg (3) = 'P' then - Prj.Ext.Add_Search_Project_Directory - (Project_Node_Tree, Arg (4 .. Arg'Last)); + Prj.Env.Add_Directories + (Project_Node_Tree.Project_Path, + Arg (4 .. Arg'Last)); else Bad_Argument; |