aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorxdono <none@none>2009-03-16 16:18:10 -0700
committerxdono <none@none>2009-03-16 16:18:10 -0700
commitdc15ef0a3ab044496192fcb8884a4c2ce2e95edb (patch)
treee755a412b3dc8aa5d18451c7aab560dd8784d11c /make
parentdd367a7ec261275718afa371092ae99db1475c83 (diff)
parent17f2cd059412a4e42f030c2716accef9e8e0dcbf (diff)
Diffstat (limited to 'make')
-rw-r--r--make/Makefile2
-rw-r--r--make/common/shared/Defs-java.gmk5
2 files changed, 4 insertions, 3 deletions
diff --git a/make/Makefile b/make/Makefile
index 0b5c31d..5eebabb 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -112,8 +112,6 @@ ifndef TARGET_JAVA
TARGET_JAVA = java
endif
-NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
-
SELF = $(lastword $(MAKEFILE_LIST))
# for jdk, we generate the following:
diff --git a/make/common/shared/Defs-java.gmk b/make/common/shared/Defs-java.gmk
index f811bee..f80f0ff 100644
--- a/make/common/shared/Defs-java.gmk
+++ b/make/common/shared/Defs-java.gmk
@@ -104,6 +104,9 @@ ifeq ($(COMPILER_WARNINGS_FATAL), true)
JAVACFLAGS += -Werror
endif
+NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
+JAVACFLAGS += $(NO_PROPRIETARY_API_WARNINGS)
+
# Add the source level (currently all source is 1.5, should this be 1.6?)
LANGUAGE_VERSION = -source 1.5
JAVACFLAGS += $(LANGUAGE_VERSION)
@@ -117,7 +120,7 @@ JAVACFLAGS += -classpath $(BOOTDIR)/lib/tools.jar
JAVACFLAGS += $(OTHER_JAVACFLAGS)
# Needed for javah
-JAVAHFLAGS += -bootclasspath $(CLASSBINDIR)
+JAVAHFLAGS += -classpath $(CLASSBINDIR)
# Langtools
ifdef LANGTOOLS_DIST