diff --git a/com.oracle.truffle.r.pkgs/rJava/src/Makevars b/com.oracle.truffle.r.pkgs/rJava/src/Makevars index 3a6fc67743874783a4ad485981f5c0ab392e3a38..30caa7c16d2b9452789e68ea50fdab266e2dfdb8 100644 --- a/com.oracle.truffle.r.pkgs/rJava/src/Makevars +++ b/com.oracle.truffle.r.pkgs/rJava/src/Makevars @@ -1,4 +1,5 @@ JAVA_SRC=$(wildcard java/*.java) +JFLAGS=-Xlint:none JAVAC=${JAVA_HOME}/bin/javac all: $(SHLIB) @@ -7,7 +8,7 @@ $(SHLIB): java .PHONY: all java java: $(JAVA_SRC) - $(JAVAC) $(JAVA_SRC) || (echo "ERROR: compilation failed, do you have properly configured JAVA_HOME environment variable?"; exit 1) + $(JAVAC) $(JFLAGS) $(JAVA_SRC) || (echo "ERROR: compilation failed, do you have properly configured JAVA_HOME environment variable?"; exit 1) rm -rfv ../inst/java mkdir -p ../inst/java mv java/*.class ../inst/java