From: Arsen Arsenović Date: Mon, 7 Aug 2023 11:07:48 +0000 (+0200) Subject: toplevel: Substitute GDCFLAGS instead of using CFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e26b2c86a1a10a10d59b6e553a6f1fdc1fabb7f8;p=binutils-gdb.git 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). --- diff --git a/Makefile.tpl b/Makefile.tpl index b0fbf9fe01a..36fa20950d4 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -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@