mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
openjdk11: unset java-options
This commit is contained in:
parent
9a7483a6df
commit
b047c46dd3
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,7 @@ distfiles="https://github.com/openjdk/jdk${_java_ver}u/archive/jdk-${version}.ta
|
|||
checksum=fb7e68bbaf9174605504e04331b3eadfeb37c23437598a04776fd3a9c085ace2
|
||||
alternatives="jdk:/usr/lib/jvm/default-jdk:/${_jdk_home}"
|
||||
provides="java-environment-${version}_1"
|
||||
nocross=temporary
|
||||
|
||||
# Build is still parallel, but don't use -jN.
|
||||
disable_parallel_build=yes
|
||||
|
@ -91,6 +92,7 @@ post_patch() {
|
|||
}
|
||||
|
||||
do_configure() {
|
||||
unset _JAVA_OPTIONS JAVA_OPTIONS JAVA_TOOL_OPTIONS
|
||||
CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/}
|
||||
CXXFLAGS=${CXXFLAGS/-D_FORTIFY_SOURCE=2/}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue