This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/38874] gnatmake doesn't pass through --param options



------- Comment #2 from laurent at guerby dot net  2009-01-16 15:37 -------
Oops == => =
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);


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38874


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]