]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid mcs warning for -g.
authorBruno Haible <bruno@clisp.org>
Thu, 22 Jun 2006 15:35:31 +0000 (15:35 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:26 +0000 (12:13 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/csharpcomp.c
gettext-tools/lib/csharpcomp.sh.in

index e85ad8af3b0f87b0b6f1e917ab587d0abbcfec9e..08fee7aa012858222226ffc41d768f1a5dd345a4 100644 (file)
@@ -2,7 +2,7 @@
 
        Avoid warnings from recent versions of mcs.
        * csharpcomp.sh.in (options_mcs): Don't use options -o, -L, -r any
-       more. Use options documented since mcs-1.0 instead.
+       more. Use options documented since mcs-1.0 instead. Similarly for -g.
        * csharpcomp.c (compile_csharp_using_mono): Likewise.
 
 2006-06-17  Bruno Haible  <bruno@clisp.org>
index 71f8ae82bbb687e547492439fdac187f85d583f7..cbc6520fbb96dc3f42ee25b48c1f663903904821 100644 (file)
@@ -244,7 +244,7 @@ compile_csharp_using_mono (const char * const *sources,
          *argp++ = option;
        }
       if (debug)
-       *argp++ = "-g";
+       *argp++ = "-debug";
       for (i = 0; i < sources_count; i++)
        {
          const char *source_file = sources[i];
index e4b1a4e33a762a755e4aa3980df320e719a0d8db..1e2ab546a4223bbbd76a8bdd2ce78056eac8e88f 100644 (file)
@@ -106,7 +106,7 @@ while test $# != 0; do
       ;;
     -g)
       options_cscc="$options_cscc -g"
-      options_mcs="$options_mcs -g"
+      options_mcs="$options_mcs -debug"
       options_csc="$options_csc -debug+"
       ;;
     -*)