diff options
Diffstat (limited to 'gcc/ada/make.adb')
-rw-r--r-- | gcc/ada/make.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb index 0f79af3..dd211cb 100644 --- a/gcc/ada/make.adb +++ b/gcc/ada/make.adb @@ -4647,7 +4647,7 @@ package body Make is Proj1 := Project_Tree.Projects; while Proj1 /= null loop if Proj1.Project.Extended_By = No_Project then - if Proj1.Project.Standalone_Library then + if Proj1.Project.Standalone_Library /= No then Stand_Alone_Libraries := True; end if; @@ -5791,7 +5791,7 @@ package body Make is if Osint.Number_Of_Files = 0 then if Main_Project /= No_Project and then Main_Project.Library then if Do_Bind_Step - and then not Main_Project.Standalone_Library + and then Main_Project.Standalone_Library = No then Make_Failed ("only stand-alone libraries may be bound"); end if; |