Date: Wed, 24 Jan 2024 13:05:00 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 276425] java/openjdk21: does not compile on main-70445a8061 Message-ID: <bug-276425-8522-3343XRKkpe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276425-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-276425-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276425 --- Comment #2 from Matteo Riondato <matteo@FreeBSD.org> --- In fact, the following patch (copied and pasted), inspired from https://cgit.freebsd.org/ports/commit/?id=3Da2f61c3e68e228e7d4186d18672da9d= 39218e289, fixes the compilation, but someone more expert with the port should check i= t. diff --git a/java/openjdk21/Makefile b/java/openjdk21/Makefile index fdeab8ad3..37d53258c 100644 --- a/java/openjdk21/Makefile +++ b/java/openjdk21/Makefile @@ -148,6 +148,7 @@ EXTRA_CFLAGS+=3D=20=20=20=20=20=20=20=20=20=20=20=20=20 -Wno-error=3Ddeprecated-non-prototype .endif CONFIGURE_ARGS+=3D --with-extra-cflags=3D"${EXTRA_CFLAGS}" CONFIGURE_ARGS+=3D --with-extra-cxxflags=3D"${EXTRA_CFLAGS}" +CONFIGURE_ARGS+=3D --with-extra-ldflags=3D"-Wl,--undefined-version" .endif .endif --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276425-8522-3343XRKkpe>