Author: Andreas Tille:
Last-Update: Tue, 06 Oct 2015 21:43:11 +0200
Description: Avoid unknown option -Xdiags:verbose
 make[3]: Entering directory '/build/pixelmed-20150917/com/pixelmed/utils'
 Makefile:36: warning: overriding recipe for target '.java.class'
 ../../../Makefile.common.mk:64: warning: ignoring old recipe for target '.java.class'
 export JAVAVERSIONTARGETJARFILE=/usr/lib/jvm/default-java/jre/lib/rt.jar; javac -O -target 1.7 -source 1.7 -bootclasspath ${JAVAVERSIONTARGETJARFILE} -encoding "UTF8" -Xlint:           deprecation -XDignore.symbol.file -Xdiags:verbose \
        -classpath ../../..:/usr/share/java/pixelmed_codec.jar \
        -sourcepath ../../.. ByteArray.java
 javac: invalid flag: -Xdiags:verbose
 Usage: javac <options> <source files>
 use -help for a list of possible options
 Makefile:36: recipe for target 'ByteArray.class' failed


--- a/Makefile.common.mk
+++ b/Makefile.common.mk
@@ -84,7 +84,7 @@ JAVACTARGETOPTIONS=-target ${JAVAVERSION
 .SUFFIXES:	.class .java .ico .png .properties .utf-8_properties
 
 # -XDignore.symbol.file needed to find "package com.sun.image.codec.jpeg" ("http://stackoverflow.com/questions/1906673/import-com-sun-image-codec-jpeg")
-JAVACOPTIONS = -O ${JAVACTARGETOPTIONS} -encoding "UTF8" -Xlint:deprecation -XDignore.symbol.file -Xdiags:verbose
+JAVACOPTIONS = -O ${JAVACTARGETOPTIONS} -encoding "UTF8" -Xlint:deprecation -XDignore.symbol.file
 
 .java.class:
 	export JAVAVERSIONTARGETJARFILE=${JAVA_HOME}/jre/lib/rt.jar; javac ${JAVACOPTIONS} \
