aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnatbind.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2017-04-27 12:12:12 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2017-04-27 12:12:12 +0200
commit7e6060af807ad72d199506f9f61a8a70a27eccda (patch)
tree6cc10b9aca83490a0cc406439c527896eb6932d4 /gcc/ada/gnatbind.adb
parent522aa6ee70820727d5be628b0f6b3cc7a185a14b (diff)
downloadgcc-7e6060af807ad72d199506f9f61a8a70a27eccda.zip
gcc-7e6060af807ad72d199506f9f61a8a70a27eccda.tar.gz
gcc-7e6060af807ad72d199506f9f61a8a70a27eccda.tar.bz2
[multiple changes]
2017-04-27 Jerome Lambourg <lambourg@adacore.com> * bindusg.adb, bindgen.adb, gnatbind.adb, opt.ads: add -nognarl switch. 2017-04-27 Justin Squirek <squirek@adacore.com> * exp_ch7.adb (Build_Finalize_Statements): Move Num_Comps to Process_Component_List_For_Finalization as a local variable. (Process_Component_For_Finalize): Add an extra parameter to avoid global references. (Process_Component_List_For_Finalization): Correct calls to Process_Component_For_Finalize to take Num_Comps as a parameter. From-SVN: r247310
Diffstat (limited to 'gcc/ada/gnatbind.adb')
-rw-r--r--gcc/ada/gnatbind.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/gnatbind.adb b/gcc/ada/gnatbind.adb
index ebe87c1..ed1138d 100644
--- a/gcc/ada/gnatbind.adb
+++ b/gcc/ada/gnatbind.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2016, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2017, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -447,6 +447,9 @@ procedure Gnatbind is
elsif Argv (2 .. Argv'Last) = "nostdinc" then
Opt.No_Stdinc := True;
+ elsif Argv (2 .. Argv'Last) = "nognarl" then
+ Opt.No_Libgnarl := True;
+
-- -static
elsif Argv (2 .. Argv'Last) = "static" then