mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
bibletime: restrict java heap size on 32-bit hosts
this fixes build on ppc-musl at very least, where it fails to reserve heap memory with the default numbers
This commit is contained in:
parent
7dd89d0df3
commit
099f84cf95
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ checksum=d6beef62ad44b255e3dc4c5e89214bf01a0e85c9136073b0be12fca3d2b22622
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
. /etc/profile.d/10_openjdk11.sh
|
. /etc/profile.d/10_openjdk11.sh
|
||||||
|
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
||||||
|
export _JAVA_OPTIONS="-Xmx1024m"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue