Integrated: JDK-8323008: filter out harmful -std* flags added by autoconf from CXX
Matthias Baesken
mbaesken at openjdk.org
Fri Jan 12 12:31:29 UTC 2024
On Mon, 8 Jan 2024 10:16:21 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> It was observed, that autoconf 2.72 added on macOS x86_64 the flag -std=gnu++11 by default to CXX in the configure process .
> This is not really wanted so better remove / filter out those -std* flags added by autoconf from CXX .
>
> Seems we have something similar for some time for CFLAGS and CXXFLAGS ( see TOOLCHAIN_POST_DETECTION in make/autoconf/toolchain.m4) that
> dates back to JDK 9.
>
> See the discussion about this issue : https://mail.openjdk.org/pipermail/build-dev/2024-January/042551.html
This pull request has now been integrated.
Changeset: 68c42860
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/68c4286026bc2c0ec0f594e0b96fe03fe5624d6d
Stats: 8 lines in 2 files changed: 4 ins; 0 del; 4 mod
8323008: filter out harmful -std* flags added by autoconf from CXX
Reviewed-by: erikj, clanger, ihse
-------------
PR: https://git.openjdk.org/jdk/pull/17301
More information about the build-dev
mailing list