aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2023-08-07 13:07:48 +0200
committerAlan Modra <amodra@gmail.com>2023-08-12 10:27:44 +0930
commite26b2c86a1a10a10d59b6e553a6f1fdc1fabb7f8 (patch)
treee3d871478e94ed695eefb8860a4b3b9cde871f5e /Makefile.tpl
parent19824f6fab29fddebc4e7674a730d65bd3efd7ea (diff)
downloadgdb-e26b2c86a1a10a10d59b6e553a6f1fdc1fabb7f8.zip
gdb-e26b2c86a1a10a10d59b6e553a6f1fdc1fabb7f8.tar.gz
gdb-e26b2c86a1a10a10d59b6e553a6f1fdc1fabb7f8.tar.bz2
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).
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index b0fbf9f..36fa209 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@