[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Sep 2024 11:36:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279367

--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=e3120f0ac06e578482a669fe51fb65fb2bcb6619

commit e3120f0ac06e578482a669fe51fb65fb2bcb6619
Author:     Mikhail T. <freebsd-2024@virtual-estates.net>
AuthorDate: 2024-09-09 07:50:21 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-09-10 11:34:53 +0000

    java/openjdk11: respect compiler and linker flags

    pass CFLAGS, CXXFLAGS and LDFLAGS to the build
    This enables more easily testing different build options.

    fix build on gcc by passing --disable-precompiled-headers not only on
powerpc64
    "Without this, I was getting PCH-error from g++12 on my amd64 machine too."

    PR:     279367
    Tested by:      poudriere
    Approved by:    maintainer timeout (java@)

 java/openjdk11/Makefile | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.