aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 1a84cf2378..84f8246483 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1235,6 +1235,11 @@ bootstrapping purposes.")
(string-append (assoc-ref inputs "freetype")
"/lib"))
#t))
+ (add-before 'build 'disable-os-version-check
+ ;; allow build on linux major version change
+ (lambda _
+ (setenv "DISABLE_HOTSPOT_OS_VERSION_CHECK" "ok")
+ #t))
(add-before 'check 'fix-test-framework
(lambda _
;; Fix PATH in test environment