On Mon, Feb 5, 2024 at 2:59 PM Bruno Haible <[email protected]> wrote: > > Bjarni Ingi Gislason wrote: > > $(lib_libgnu_a_CFLAGS) is put before $(CFLAGS). > > This is as it should be. The user-provided CFLAGS must override the > package-provided lib_libgnu_a_CFLAGS. Rationale: "The user is always right".
++. See <https://www.gnu.org/prep/standards/html_node/Command-Variables.html>: Put CFLAGS last in the compilation command, after other variables containing compiler options, so the user can use CFLAGS to override the others. > > I have not found the place where such lines are constructed. > > Makefile.in is constructed by Automake. Jeff
