/hg/icedtea8-forest/langtools: PR1937: Add configure option for ...

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Fri Jun 5 00:32:07 UTC 2015


changeset 66f265db6f47 in /hg/icedtea8-forest/langtools
details: http://icedtea.classpath.org/hg/icedtea8-forest/langtools?cmd=changeset;node=66f265db6f47
author: andrew
date: Thu Jun 04 18:01:00 2015 +0100

	PR1937: Add configure option for -Werror
	Summary: Make -Werror optional


diffstat:

 make/BuildLangtools.gmk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 4708090341cb -r 66f265db6f47 make/BuildLangtools.gmk
--- a/make/BuildLangtools.gmk	Wed May 27 14:33:36 2015 +0100
+++ b/make/BuildLangtools.gmk	Thu Jun 04 18:01:00 2015 +0100
@@ -36,7 +36,7 @@
     JAVAC := $(JAVAC), \
     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
     SERVER_JVM := $(SJAVAC_SERVER_JAVA), \
-    FLAGS := -XDignore.symbol.file=true -g -Xlint:all$(COMMA)-deprecation -Werror))
+    FLAGS := -XDignore.symbol.file=true -g -Xlint:all$(COMMA)-deprecation $(JAVAC_WERROR)))
 
 # javax.tools.JavaCompilerTool isn't really a suffix but this gets the file copied.
 RESOURCE_SUFFIXES := .gif .xml .css .js javax.tools.JavaCompilerTool
@@ -175,7 +175,7 @@
         JAVAC := "-Xbootclasspath/p:$(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar" \
             -cp $(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar \
             com.sun.tools.javac.Main, \
-        FLAGS := -XDignore.symbol.file=true -Xlint:all$(COMMA)-deprecation -Werror, \
+        FLAGS := -XDignore.symbol.file=true -Xlint:all$(COMMA)-deprecation $(JAVAC_WERROR), \
         SERVER_DIR := $(SJAVAC_SERVER_DIR), \
         SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
 


More information about the distro-pkg-dev mailing list