mirror of
https://codeberg.org/guix/guix.git
synced 2026-05-13 15:03:44 +00:00
gnu: openjdk10: Conditionally disable C2 compiler when importing certificates.
* gnu/packages/java.scm (openjdk10)[arguments]: Conditionally add phase 'disable-C2-compiler on 32-bit x86. Change-Id: Id8a90deb686cb1354c53faac11b91af098e83f6e
This commit is contained in:
@@ -1285,7 +1285,13 @@ new Date();"))))
|
||||
;; It looks like the "--disable-warnings-as-errors" option of
|
||||
;; the 'configure' phase is not working.
|
||||
(substitute* "make/autoconf/generated-configure.sh"
|
||||
(("-Werror") ""))))))
|
||||
(("-Werror") ""))))
|
||||
#$@(if (target-x86-32?)
|
||||
;; On i686 the C2 compiler sometimes crashes when importing
|
||||
;; certificates.
|
||||
#~((add-before 'install-keystore 'disable-C2-compiler
|
||||
(lambda _ (setenv "_JAVA_OPTIONS" "-XX:TieredStopAtLevel=1"))))
|
||||
#~())))
|
||||
((#:disallowed-references refs '())
|
||||
(cons* (this-package-native-input "openjdk")
|
||||
(gexp-input (this-package-native-input "openjdk") "jdk")
|
||||
|
||||
Reference in New Issue
Block a user