diff options
author | Frederik “Freso” S. Olesen | 2024-01-19 13:43:20 +0100 |
---|---|---|
committer | Frederik “Freso” S. Olesen | 2024-01-19 13:43:20 +0100 |
commit | 08667cde99597039ba7e7800bdf3634fe88ce2b3 (patch) | |
tree | abcc7c3ae3dcba36e7d3055709328d2fc355c546 | |
parent | 152061030b69f84fb118af9b782f529fda3342dd (diff) | |
download | aur-08667cde99597039ba7e7800bdf3634fe88ce2b3.tar.gz |
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.
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" |