From: Pascal Obry Date: Thu, 6 Feb 2014 10:06:38 +0000 (+0000) Subject: prj-util.adb (For_Interface_Sources): Skip non compilable languages. X-Git-Tag: releases/gcc-4.9.0~1060 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49d8d177c5d60384bcf073d8b510140ee6718b9a;p=thirdparty%2Fgcc.git prj-util.adb (For_Interface_Sources): Skip non compilable languages. 2014-02-06 Pascal Obry * prj-util.adb (For_Interface_Sources): Skip non compilable languages. * prj.ads: Minor typo fix in comment. From-SVN: r207538 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2b58fce30ebc..57899c72ee2c 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2014-02-06 Pascal Obry + + * prj-util.adb (For_Interface_Sources): Skip non compilable languages. + * prj.ads: Minor typo fix in comment. + 2014-02-06 Hristian Kirtchev * sem_prag.adb (Analyze_Depends_In_Decl_Part): Add diff --git a/gcc/ada/prj-util.adb b/gcc/ada/prj-util.adb index 1cea3163d7f0..0861b0f2c3d2 100644 --- a/gcc/ada/prj-util.adb +++ b/gcc/ada/prj-util.adb @@ -470,6 +470,7 @@ package body Prj.Util is and then not Sid.Locally_Removed and then (Project.Standalone_Library = No or else Sid.Declared_In_Interfaces) + and then Sid.Dep_Name /= No_File -- for non compilable languages then Action (Sid); diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads index 5607502a34c2..519e87401617 100644 --- a/gcc/ada/prj.ads +++ b/gcc/ada/prj.ads @@ -511,7 +511,7 @@ package Prj is -- there is no need for such switch. Object_Generated : Boolean := True; - -- False in no object file is generated + -- False if no object file is generated Objects_Linked : Boolean := True; -- False if object files are not use to link executables and build