RFR: 8323672: Suppress unwanted autoconf added flags in CC and CXX [v4]

Julian Waters jwaters at openjdk.org
Wed Jan 17 14:15:02 UTC 2024


> [JDK-8323008](https://bugs.openjdk.org/browse/JDK-8323008) reports unwanted autoconf flags being added to the command line, and solves the issue by filtering out the added flags by force. This is not optimal however, as doing so leaves the autoconf message that the flags were added still displaying during the configure process, which is confusing. Instead, setting a couple of fields to disable the autoconf internals responsible for the unwanted flag is a cleaner solution

Julian Waters has updated the pull request incrementally with two additional commits since the last revision:

 - Switch to UTIL_PROG_CC and UTIL_PROG_CXX in toolchain.m4
 - Provide UTIL_PROG_CC and UTIL_PROG_CXX in util.m4

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17401/files
  - new: https://git.openjdk.org/jdk/pull/17401/files/0fb5734c..776f8aa4

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

  Stats: 52 lines in 2 files changed: 50 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/17401.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17401/head:pull/17401

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


More information about the build-dev mailing list