This is the mail archive of the gcc-patches@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]

Patch: missing entry in java/lang-specs.h


It shouldn't be possible to use `-fjni' and `-C' together.
This patch fixes the problem.
Ok to commit?

2000-09-06  Tom Tromey  <tromey@cygnus.com>

	* lang-specs.h: Also recognize `-femi-class-files'.

Tom

Index: lang-specs.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/lang-specs.h,v
retrieving revision 1.15
diff -u -r1.15 lang-specs.h
--- lang-specs.h	2000/08/21 18:12:24	1.15
+++ lang-specs.h	2000/09/06 20:49:40
@@ -30,7 +30,8 @@
   {".zip",    "@java" },
   {".jar",    "@java" },
   {"@java",
-   "%{fjni:%{femit-class-file:%e-fjni and -femit-class-file are incompatible}}\
+   "%{fjni:%{femit-class-files:%e-fjni and -femit-class-files are incompatible}}\
+    %{fjni:%{femit-class-file:%e-fjni and -femit-class-file are incompatible}}\
     %{!E:jc1 %i %(jc1) %(cc1_options) %{+e*} %{I*} %{MD} %{MMD} %{M} %{MM}\
              %{!fsyntax-only:%{!S:-o %{|!pipe:%g.s} |\n\
     as %(asm_options) %{!pipe:%g.s} %A }}}"},

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