changeset 51:db35452e8965

6810915: Sun proprietary warnings in JDK build Reviewed-by: ohair
author jjg
date Thu, 26 Feb 2009 18:32:46 -0800
parents 9e6c48c2582d
children 082f59f5ac64
files make/Makefile make/common/shared/Defs-java.gmk
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/Makefile	Thu Feb 26 18:28:21 2009 -0800
+++ b/make/Makefile	Thu Feb 26 18:32:46 2009 -0800
@@ -112,8 +112,6 @@
   TARGET_JAVA = java
 endif
 
-NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
-
 SELF = $(lastword $(MAKEFILE_LIST))
 
 # for jdk, we generate the following:
--- a/make/common/shared/Defs-java.gmk	Thu Feb 26 18:28:21 2009 -0800
+++ b/make/common/shared/Defs-java.gmk	Thu Feb 26 18:32:46 2009 -0800
@@ -104,6 +104,9 @@
   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)