Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
use-release-8.diff: Set --release=8.
· d24f4a16
Timo Aaltonen
authored
Sep 16, 2019
d24f4a16
releasing package jss version 4.6.1-3
· f76c310b
Timo Aaltonen
authored
Sep 16, 2019
f76c310b
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
f76c310b
jss (4.6.1-3) unstable; urgency=medium
* use-release-8.diff: Set --release=8.
-- Timo Aaltonen <tjaalton@debian.org> Mon, 16 Sep 2019 18:06:52 +0300
jss (4.6.1-2) unstable; urgency=medium
* fix-bufferprfd.diff: Fix tests on big-endian.
...
...
debian/patches/series
View file @
f76c310b
fix-bufferprfd.diff
use-release-8.diff
debian/patches/use-release-8.diff
0 → 100644
View file @
f76c310b
diff --git a/cmake/JSSConfig.cmake b/cmake/JSSConfig.cmake
index 3ca7ede6..71274d44 100644
--- a/cmake/JSSConfig.cmake
+++ b/cmake/JSSConfig.cmake
@@ -265,10 +265,8 @@
macro(jss_config_java)
list(APPEND JSS_JAVAC_FLAGS "${PROJECT_SOURCE_DIR}")
# Ensure we're compatible with JDK 8
- list(APPEND JSS_JAVAC_FLAGS "-target")
- list(APPEND JSS_JAVAC_FLAGS "1.8")
- list(APPEND JSS_JAVAC_FLAGS "-source")
- list(APPEND JSS_JAVAC_FLAGS "1.8")
+ list(APPEND JSS_JAVAC_FLAGS "--release")
+ list(APPEND JSS_JAVAC_FLAGS "8")
# Handle passed-in javac flags as well; assume they are valid.
separate_arguments(PASSED_JAVAC_FLAGS UNIX_COMMAND "$ENV{JAVACFLAGS}")