On Thu, 2023-02-23 at 16:17 -0500, Ken Brown wrote: > I'm attaching that script so you can see exactly how "make" is > invoked in a subshell. I'm also attaching my build log up to the > point of the warning and the Makefile in the ft-build directory in > which the warning occurred. I've previously sent you the top-level > Makefile. > > Let me know if you need anything else.
The ft-build/Makefile is not the interesting one: by the time make is invoked here it already has the bad arguments. The makefile we want is the one that invoked this make, with the bad arguments; from your build: make[3]: Entering directory '/home/kbrown/src/texlive/test.x86_64/Work/libs/freetype2' rm -rf ft-build /usr/bin/mkdir -p ft-build cd ft-build && \ CC='gcc' CONFIG_SITE=/dev/null CONFIG_SHELL='/bin/sh' \ /bin/sh /home/kbrown/src/texlive/test.x86_64/Work/libs/freetype2/../../../libs/freetype2/freetype-src/configure \ --disable-shared \ --without-bzip2 \ --without-brotli \ --without-harfbuzz \ --without-png \ --without-zlib \ --prefix=/home/kbrown/src/texlive/test.x86_64/Work/libs/freetype2/ft-install \ --libdir=/home/kbrown/src/texlive/test.x86_64/Work/libs/freetype2 \ --includedir=/home/kbrown/src/texlive/test.x86_64/Work/libs/freetype2 so, the makefile we want is the makefile in freetype2 that contains the recipe that invokes the make command in the ft-build subdirectory.