mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 12:41:55 +01:00
Workaround build breaking without set C or LDFLAGS
Included java-openjfx-flags.patch makes calls to CFLAGS and LDFLAGS which will cause the build to break if they’re not set in a user’s makepkg.conf or otherwise.
This commit is contained in:
parent
152061030b
commit
08667cde99
1 changed files with 5 additions and 0 deletions
5
PKGBUILD
5
PKGBUILD
|
|
@ -72,6 +72,11 @@ prepare() {
|
|||
build() {
|
||||
cd $_jfxdir
|
||||
|
||||
# Workaround for users without set $CFLAGS and $LDFLAGS causing
|
||||
# build to fail because of included java-openjfx-flags.patch
|
||||
export CFLAGS=${CFLAGS:=}
|
||||
export LDFLAGS=${LDFLAGS:=}
|
||||
|
||||
# Build with openjdk-17
|
||||
export PATH="/usr/lib/jvm/java-17-openjdk/bin/:$PATH"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue