summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2005-12-13 01:20:29 +0000
committerDalibor Topic <robilad@yahoo.com>2005-12-13 01:20:29 +0000
commit7b6d3a822c08334d3664194a3be166758c3727a7 (patch)
tree7dbd32abda03043df776c5a3bcfe284847caac2b /lib
parent1d7d208c7f45fd9bfdbba5c5928cdc2e0a79b527 (diff)
downloadclasspath-7b6d3a822c08334d3664194a3be166758c3727a7.tar.gz
Build breakage fix for jikes 1.19
2005-12-12 Dalibor Topic <robilad@kaffe.org> Fixes bug #25353 * m4/acinclude.m4: Added JIKESWARNINGS makefile variable. Only add +Pno-shadow to JIKESWARNINGS if not using jikes 1.19. * lib/Makefile.am: Use JIKESWARNINGS instead of explicitely listing the warnings.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 255e26e92..f40bbd292 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -19,7 +19,7 @@ if FOUND_GCJ
JAVAC = exit 1
else
if FOUND_JIKES
-JAVAC = $(JIKES) +Pno-shadow +Pno-switchcheck +F $(JIKESENCODING) -bootclasspath '' -extdirs '' -sourcepath '' --classpath $(compile_classpath) -d . @classes
+JAVAC = $(JIKES) $(JIKESWARNINGS) +F $(JIKESENCODING) -bootclasspath '' -extdirs '' -sourcepath '' --classpath $(compile_classpath) -d . @classes
else
if FOUND_KJC
## FIXME: from what I can tell, kjc does not support a -encoding option.