Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8323008

filter out harmful -std* flags added by autoconf from CXX

XMLWordPrintable

    • b06
    • generic
    • generic

        It was observed, that autoconf 2.72 added on macOS x86_64 (macOS 14) 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

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: