[Bug 276425] java/openjdk21: does not compile on main-70445a8061
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 276425] java/openjdk21: does not compile on main-70445a8061"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Jan 2024 13:05:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276425 --- 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=a2f61c3e68e228e7d4186d18672da9d39218e289, fixes the compilation, but someone more expert with the port should check it. 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+= -Wno-error=deprecated-non-prototype .endif CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" +CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,--undefined-version" .endif .endif -- You are receiving this mail because: You are the assignee for the bug.