summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-06-22 15:35:31 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:13:26 +0200
commit507a7b323c7df03dae699fe8915c11ac68f4ab7a (patch)
tree2e6e856e1a869eb76d776e5640a2f11f3333a8eb
parent43fed6dd88958f3956e286f4fc6e5f24af746bf7 (diff)
downloadexternal_gettext-507a7b323c7df03dae699fe8915c11ac68f4ab7a.zip
external_gettext-507a7b323c7df03dae699fe8915c11ac68f4ab7a.tar.gz
external_gettext-507a7b323c7df03dae699fe8915c11ac68f4ab7a.tar.bz2
Avoid mcs warning for -g.
-rw-r--r--gettext-tools/lib/ChangeLog2
-rw-r--r--gettext-tools/lib/csharpcomp.c2
-rw-r--r--gettext-tools/lib/csharpcomp.sh.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog
index e85ad8a..08fee7a 100644
--- a/gettext-tools/lib/ChangeLog
+++ b/gettext-tools/lib/ChangeLog
@@ -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>
diff --git a/gettext-tools/lib/csharpcomp.c b/gettext-tools/lib/csharpcomp.c
index 71f8ae8..cbc6520 100644
--- a/gettext-tools/lib/csharpcomp.c
+++ b/gettext-tools/lib/csharpcomp.c
@@ -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];
diff --git a/gettext-tools/lib/csharpcomp.sh.in b/gettext-tools/lib/csharpcomp.sh.in
index e4b1a4e..1e2ab54 100644
--- a/gettext-tools/lib/csharpcomp.sh.in
+++ b/gettext-tools/lib/csharpcomp.sh.in
@@ -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+"
;;
-*)