toplevel: Substitute GDCFLAGS instead of using CFLAGS

r14-2875-g1ed21e23d6d4da ("Use substituted GDCFLAGS") already
implemented this change, but only on the generated file rather than in
the template it is generated from.

	* Makefile.tpl: Substitute @GDCFLAGS@ instead of using
	$(CFLAGS).
This commit is contained in:
Arsen Arsenović 2023-08-07 13:07:48 +02:00 committed by Alan Modra
parent 19824f6fab
commit e26b2c86a1

View file

@ -448,7 +448,7 @@ LIBCFLAGS = $(CFLAGS)
CXXFLAGS = @CXXFLAGS@
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
GOCFLAGS = $(CFLAGS)
GDCFLAGS = $(CFLAGS)
GDCFLAGS = @GDCFLAGS@
GM2FLAGS = $(CFLAGS)
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@