RFR: 8323667: Library debug files contain non-reproducible full gcc include paths [v4]
Erik Joelsson
erikj at openjdk.org
Wed Jan 17 13:54:50 UTC 2024
On Wed, 17 Jan 2024 09:35:08 GMT, Andrew Leonard <aleonard at openjdk.org> wrote:
> > So `$CC $CFLAGS` did not work?
>
> @magicus So I purposely chose SYSROOT_CFLAGS thinking that would all that would be needed, but I think you're correct, I should use the complete CFLAGS in case a custom user extension include may have pointed at some other include path. I have updated and tested successfully with CFLAGS_JDKLIB. Ready for re-review, Thanks
Magnus specifically meant `$CFLAGS`. It's set to `"$MACHINE_FLAG $SYSROOT_CFLAGS $USER_CFLAGS"` in `flags.m4` and meant to contain relevant flags for running checks in configure. I don't think `$CFLAGS_JDKLIB` is appropriate here even if it should work.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17399#issuecomment-1895858224
More information about the build-dev
mailing list