aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/make.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-06-24 11:11:43 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-06-24 11:11:43 +0200
commitdd3e1ff52932c9093fa88a9dac4fd586536c4279 (patch)
treec0fd9d73501cb1aff6eb977d385a6853104cabf1 /gcc/ada/make.adb
parent0386aad11f240d525a625849e9411a25c7ef07f6 (diff)
downloadgcc-dd3e1ff52932c9093fa88a9dac4fd586536c4279.zip
gcc-dd3e1ff52932c9093fa88a9dac4fd586536c4279.tar.gz
gcc-dd3e1ff52932c9093fa88a9dac4fd586536c4279.tar.bz2
[multiple changes]
2009-06-24 Robert Dewar <dewar@adacore.com> * exp_ch6.adb: Minor reformatting * layout.adb: Minor reformatting * make.adb: Minor reformatting 2009-06-24 Thomas Quinot <quinot@adacore.com> * sem_ch10.adb: Minor code reorganization. From-SVN: r148898
Diffstat (limited to 'gcc/ada/make.adb')
-rw-r--r--gcc/ada/make.adb10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index 27489cd..d1bfec9 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -5885,16 +5885,18 @@ package body Make is
-- executable: there may be an externally built library
-- file that has been modified.
- if (not Executable_Obsolete)
- and then Main_Project /= No_Project
+ if not Executable_Obsolete
+ and then Main_Project /= No_Project
then
declare
Proj1 : Project_List;
+
begin
Proj1 := Project_Tree.Projects;
while Proj1 /= null loop
- if Proj1.Project.Library and then
- Proj1.Project.Library_TS > Executable_Stamp
+ if Proj1.Project.Library
+ and then
+ Proj1.Project.Library_TS > Executable_Stamp
then
Executable_Obsolete := True;
Youngest_Obj_Stamp := Proj1.Project.Library_TS;