diff options
author | Vincent Celier <celier@adacore.com> | 2007-08-16 14:19:13 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-08-16 14:19:13 +0200 |
commit | 1086c39b19eed27d9fc5b53ca7c5b75143d908bf (patch) | |
tree | 5b5d183382bf48671a3aea85557e32c8a38453ee /gcc/ada/makeutl.ads | |
parent | c17fc6f62a85eec85e923c9a808b97d93b84b1ce (diff) | |
download | gcc-1086c39b19eed27d9fc5b53ca7c5b75143d908bf.zip gcc-1086c39b19eed27d9fc5b53ca7c5b75143d908bf.tar.gz gcc-1086c39b19eed27d9fc5b53ca7c5b75143d908bf.tar.bz2 |
make.adb (Collect_Arguments): Call Test_If_Relative_Path with Including_Non_Switch set to False.
2007-08-16 Vincent Celier <celier@adacore.com>
* make.adb (Collect_Arguments): Call Test_If_Relative_Path with
Including_Non_Switch set to False.
(Gnatmake): For the compiler, call Test_If_Relative_Path with
Including_Non_Switch set to False.
* makeutl.adb, makeutl.ads (Test_If_Relative_Path): New Boolean
parameter Including_Non_Switch, defaulted to True. When
Including_Non_Switch is False, options that are not switches and
appear as relative path are not converted to absolute paths.
From-SVN: r127542
Diffstat (limited to 'gcc/ada/makeutl.ads')
-rw-r--r-- | gcc/ada/makeutl.ads | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ada/makeutl.ads b/gcc/ada/makeutl.ads index 29a3895..b901bc5 100644 --- a/gcc/ada/makeutl.ads +++ b/gcc/ada/makeutl.ads @@ -124,9 +124,10 @@ package Makeutl is end Mains; procedure Test_If_Relative_Path - (Switch : in out String_Access; - Parent : String_Access; - Including_L_Switch : Boolean := True); + (Switch : in out String_Access; + Parent : String_Access; + Including_L_Switch : Boolean := True; + Including_Non_Switch : Boolean := True); -- Test if Switch is a relative search path switch. -- If it is, fail if Parent is null, otherwise prepend the path with -- Parent. This subprogram is only called when using project files. |