summaryrefslogtreecommitdiff
path: root/gcc/ada/gnatcmd.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-11 10:16:51 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-11 10:16:51 +0000
commit56a41191a9e5f7d6a10aebe012b625ce38b09bf1 (patch)
tree20c3032aa10e4dffe4e3cbf5ec4a3a7a4c684369 /gcc/ada/gnatcmd.adb
parenta828619e5b823d18ca5333eaa58f2d5d1cf2206e (diff)
downloadgcc-56a41191a9e5f7d6a10aebe012b625ce38b09bf1.tar.gz
2010-10-11 Vincent Celier <celier@adacore.com>
* gnatcmd.adb (GNATCmd): For all tools other than gnatmake, allow shared library projects to import projects that are not shared library projects. 2010-10-11 Javier Miranda <miranda@adacore.com> * debug.adb: Document that switch -gnatd.o generates the CIL listing. 2010-10-11 Arnaud Charlet <charlet@adacore.com> * sem_prag.adb (Process_Suppress_Unsuppress): Only ignore Suppress/Unsuppress pragmas in codepeer mode on user code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165296 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnatcmd.adb')
-rw-r--r--gcc/ada/gnatcmd.adb7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ada/gnatcmd.adb b/gcc/ada/gnatcmd.adb
index fbd2a6f695d..174a8db1481 100644
--- a/gcc/ada/gnatcmd.adb
+++ b/gcc/ada/gnatcmd.adb
@@ -1577,6 +1577,13 @@ begin
Program_Name (Command_List (The_Command).Unixcmd.all, "gnat");
end if;
+ -- For all tools other than gnatmake, allow shared library projects to
+ -- import projects that are not shared library projects.
+
+ if The_Command /= Make then
+ Opt.Unchecked_Shared_Lib_Imports := True;
+ end if;
+
-- Locate the executable for the command
Exec_Path := Locate_Exec_On_Path (Program.all);