2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-29 07:00:24 +08:00

prj-util.adb (For_Interface_Sources): Skip non compilable languages.

2014-02-06  Pascal Obry  <obry@adacore.com>

	* prj-util.adb (For_Interface_Sources): Skip non compilable languages.
	* prj.ads: Minor typo fix in comment.

From-SVN: r207538
This commit is contained in:
Pascal Obry 2014-02-06 10:06:38 +00:00 committed by Arnaud Charlet
parent 8e1e62e3de
commit 49d8d177c5
3 changed files with 7 additions and 1 deletions

@ -1,3 +1,8 @@
2014-02-06 Pascal Obry <obry@adacore.com>
* prj-util.adb (For_Interface_Sources): Skip non compilable languages.
* prj.ads: Minor typo fix in comment.
2014-02-06 Hristian Kirtchev <kirtchev@adacore.com>
* sem_prag.adb (Analyze_Depends_In_Decl_Part): Add

@ -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);

@ -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