java-openjfx: add flags

This commit is contained in:
Guoyi Zhang 2024-06-18 11:37:17 +10:00
parent 1fb1be83e6
commit 0261abf27c

View file

@ -77,6 +77,12 @@ prepare() {
build() {
cd $_jfxdir
_FIXWERROR="-Wno-error=incompatible-pointer-types"
CFLAGS+=" ${_FIXWERROR}"
CXXFLAGS+=" ${_FIXWERROR}"
export CFLAGS
export CXXFLAGS
# Build with openjdk-(current version minus 1)
export PATH="/usr/lib/jvm/java-$((${pkgver%%.*}-1))-openjdk/bin/:$PATH"