diff options
Diffstat (limited to 'gcc/ada/clean.adb')
-rw-r--r-- | gcc/ada/clean.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/clean.adb b/gcc/ada/clean.adb index f20253391cd..276fcc656a6 100644 --- a/gcc/ada/clean.adb +++ b/gcc/ada/clean.adb @@ -1088,8 +1088,8 @@ package body Clean is end if; end if; - if Project.Standalone_Library and then - Project.Object_Directory /= No_Path_Information + if Project.Standalone_Library /= No + and then Project.Object_Directory /= No_Path_Information then Delete_Binder_Generated_Files (Get_Name_String (Project.Object_Directory.Display_Name), |