Re: RFR: 8328157: Move C[XX]FLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk [v3]

2024-03-15 Thread Magnus Ihse Bursie
On Fri, 15 Mar 2024 12:39:03 GMT, Magnus Ihse Bursie wrote: >> make/modules/jdk.jpackage/Lib.gmk line 63: >> >>> 61: CXXFLAGS_FILTER_OUT := -MD, \ >>> 62: CXXFLAGS := $(JPACKAGE_APPLAUNCHER_INCLUDES), \ >>> 63: CFLAGS := $(JPACKAGE_APPLAUNCHER_INCLUDES), \ >> >> This removed `-MD`,

Re: RFR: 8328157: Move C[XX]FLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk [v3]

2024-03-15 Thread Magnus Ihse Bursie
On Thu, 14 Mar 2024 19:45:10 GMT, Erik Joelsson wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Fix syntax error > > make/modules/jdk.jpackage/Lib.gmk line 63: > >> 61: CXXFLAGS_FILTER_OUT := -MD, \ >>

Re: RFR: 8328157: Move C[XX]FLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk [v3]

2024-03-15 Thread Magnus Ihse Bursie
On Thu, 14 Mar 2024 18:01:34 GMT, Erik Joelsson wrote: >> Magnus Ihse Bursie has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Fix syntax error > > make/common/JdkNativeCompilation.gmk line 206: > >> 204: $$(foreach flag,

Re: RFR: 8328157: Move C[XX]FLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk [v3]

2024-03-14 Thread Erik Joelsson
On Thu, 14 Mar 2024 15:16:53 GMT, Magnus Ihse Bursie wrote: >> We are setting one of the flags `CFLAGS_JDKLIB`, `CXXFLAGS_JDKLIB`, >> `CFLAGS_JDKEXE` or `CXXFLAGS_JDKEXE` to `CFLAGS` or `CXXFLAGS`, >> respectively, in basically all calls to `SetupJdkLibrary` and >> `SetupJdkExecutable`. >>

Re: RFR: 8328157: Move C[XX]FLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk [v3]

2024-03-14 Thread Magnus Ihse Bursie
> We are setting one of the flags `CFLAGS_JDKLIB`, `CXXFLAGS_JDKLIB`, > `CFLAGS_JDKEXE` or `CXXFLAGS_JDKEXE` to `CFLAGS` or `CXXFLAGS`, respectively, > in basically all calls to `SetupJdkLibrary` and `SetupJdkExecutable`. > > These flag variables contain a lot of duplication. > > The first