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

Magnus Ihse Bursie ihse at openjdk.org
Thu Jan 18 09:26:14 UTC 2024


On Thu, 18 Jan 2024 09:12:46 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> (Sometimes I wonder whether Java could've gone the way V8 went and used Python or Java itself as the build system instead, oh well)

While I think we're stuck with make for the long run, a long-term goal for me has been (and still is) to replace autoconf with a system written in Java. Fortunately, we have a well defined interface: The user runs `configure` with a set of well-know arguments, we check for a bunch of requirements and the validity of the requested build configuration, and generates a well-defined spec.gmk file as a result. This tight encapsulation means it is possible to make a drop-in replacement in Java. The challenge is "just" to make sure we don't loose any functionality, nor skip over any of the odd fixes and adaptation to real-world build systems that the current configure script has collected over the years.

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

PR Comment: https://git.openjdk.org/jdk/pull/17401#issuecomment-1898097805


More information about the build-dev mailing list