[Bug ada/38874] gnatmake doesn't pass through --param options
laurent at guerby dot net
gcc-bugzilla@gcc.gnu.org
Fri Jan 16 15:34:00 GMT 2009
------- Comment #1 from laurent at guerby dot net 2009-01-16 15:33 -------
for the --param= case the following should work (untested):
Index: gcc/ada/make.adb
===================================================================
--- gcc/ada/make.adb (revision 143273)
+++ gcc/ada/make.adb (working copy)
@@ -8039,6 +8039,7 @@
or else Argv (2 .. Argv'Last) = "pg"
or else (Argv (2) = 'm' and then Argv'Last > 2)
or else (Argv (2) = 'f' and then Argv'Last > 2)
+ or else (Argv'Last >= 8 and then Argv (2 .. 8) == "-param=")
then
Add_Switch (Argv, Compiler, And_Save => And_Save);
Add_Switch (Argv, Linker, And_Save => And_Save);
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |laurent at guerby dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38874
More information about the Gcc-bugs
mailing list