summaryrefslogtreecommitdiff
path: root/gcc/java/Make-lang.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/Make-lang.in')
-rw-r--r--gcc/java/Make-lang.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in
index d1201cd7034..badbb7fdfbf 100644
--- a/gcc/java/Make-lang.in
+++ b/gcc/java/Make-lang.in
@@ -101,6 +101,9 @@ jvspec.o-warn = -Wno-error
# Bison-1.75 output often yields (harmless) -Wtraditional warnings
java/parse.o-warn = -Wno-error
+# java/jcf-io.c contains a -Wc++compat warning.
+java/jcf-io.o-warn = -Wno-error
+
jc1$(exeext): $(JAVA_OBJS) $(BACKEND) $(LIBDEPS) attribs.o
rm -f $@
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \