ecj/0002-Fix-build-from-source.patch

32 lines
845 B
Diff
Raw Normal View History

From f0d18d7027330806097b6f6c221c0a6008f8c503 Mon Sep 17 00:00:00 2001
From: Mat Booth <mat.booth@gmail.com>
Date: Wed, 15 Sep 2021 10:15:08 +0100
Subject: [PATCH 2/2] Fix build from source
---
build.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/build.xml b/build.xml
index 229bec2..797f7fa 100644
--- a/build.xml
+++ b/build.xml
@@ -24,10 +24,10 @@
<mkdir dir="${output}" />
<javac srcdir="${basedir}" destdir="${output}"
- debuglevel="lines,source"
- source="1.8"
- target="1.8">
- <compilerarg line="-Xlint:none"/>
+ debuglevel="lines,vars,source"
+ debug="true"
+ release="11">
+ <compilerarg line="-Xlint:none -encoding cp1252 --patch-module java.compiler=${javaapi}"/>
</javac>
<delete file="${basedir}/META-INF/MANIFEST.MF" failonerror="false"/>
--
2.31.1