diff options
author | Ivan Kozik <ivan@ludios.org> | 2018-12-11 06:06:23 +0000 |
---|---|---|
committer | Ivan Kozik <ivan@ludios.org> | 2018-12-11 06:14:21 +0000 |
commit | a9c43dd9ef088e71b9074a81fca179ba370c63cc (patch) | |
tree | fad4086434c940cc55051c9451a00926b80c4dff /pkgs/development/compilers/openjdk | |
parent | 9fba490258e127b533c342562f008fb07f0fa960 (diff) | |
download | nixlib-a9c43dd9ef088e71b9074a81fca179ba370c63cc.tar nixlib-a9c43dd9ef088e71b9074a81fca179ba370c63cc.tar.gz nixlib-a9c43dd9ef088e71b9074a81fca179ba370c63cc.tar.bz2 nixlib-a9c43dd9ef088e71b9074a81fca179ba370c63cc.tar.lz nixlib-a9c43dd9ef088e71b9074a81fca179ba370c63cc.tar.xz nixlib-a9c43dd9ef088e71b9074a81fca179ba370c63cc.tar.zst nixlib-a9c43dd9ef088e71b9074a81fca179ba370c63cc.zip |
jdk11_headless: fix the build on amd64
This fixes: checking user specified JVM feature list... configure: error: Cannot continue configure: Unknown JVM features specified: "zgc--enable-headless-only" configure: The available JVM features are: "aot cds cmsgc compiler1 compiler2 dtrace epsilongc g1gc graal jfr jni-check jvmci jvmti link-time-opt management minimal nmt parallelgc serialgc services static-build vm-structs zero zgc" configure exiting with result code 1 builder for '/nix/store/1awwzd98crcgxad3srdkv8smhxgiz2qp-openjdk-11.0.1-b13.drv' failed with exit code 1
Diffstat (limited to 'pkgs/development/compilers/openjdk')
-rw-r--r-- | pkgs/development/compilers/openjdk/11.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/openjdk/11.nix b/pkgs/development/compilers/openjdk/11.nix index af383b2f05e1..42208ecf8d95 100644 --- a/pkgs/development/compilers/openjdk/11.nix +++ b/pkgs/development/compilers/openjdk/11.nix @@ -67,8 +67,8 @@ let # See https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg49006.html "--with-extra-cflags=-Wno-error=deprecated-declarations -Wno-error=format-contains-nul -Wno-error=unused-result" '' - + lib.optionalString (architecture == "amd64") "\"--with-jvm-features=zgc\"" - + lib.optionalString minimal "\"--enable-headless-only\"" + + lib.optionalString (architecture == "amd64") " \"--with-jvm-features=zgc\"" + + lib.optionalString minimal " \"--enable-headless-only\"" + ");" # https://bugzilla.redhat.com/show_bug.cgi?id=1306558 # https://github.com/JetBrains/jdk8u/commit/eaa5e0711a43d64874111254d74893fa299d5716 |