OpenJDK11 build on macOS with autoconf 2.72 / -std=gnu++11 option
Julian Waters
tanksherman27 at gmail.com
Wed Jan 3 08:53:44 UTC 2024
> So why is "-std=gnu++11" being used at all?
autoconf has a heuristic that automatically checks "For compiler flags
required to enable C++11 for the current compiler", and if the check
passes, autoconf automatically adds -std=gnu++11 to the CFLAGS. Something
is likely (wrongly) tripping this heuristic with XCode on macOS, as to what
is causing this, that will need more testing to find out where the problem
lies, in the worst case we may have to dig up the source code for that
autoconf test to figure out what is going wrong.
best regards,
Julian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20240103/27935194/attachment.htm>
More information about the build-dev
mailing list