RFR: JDK-8323008: filter out any -std* flags added by autoconf from CC/CXX [v3]

Matthias Baesken mbaesken at openjdk.org
Thu Jan 11 13:20:47 UTC 2024


> 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 any -std* flags added by autoconf from CC/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

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  adjust COPYRIGHT year

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/17301/files
  - new: https://git.openjdk.org/jdk/pull/17301/files/63300451..98046dfc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17301&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17301&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/17301.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17301/head:pull/17301

PR: https://git.openjdk.org/jdk/pull/17301


More information about the build-dev mailing list