aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2023-08-05 15:02:06 +0200
committerArsen Arsenović <arsen@gcc.gnu.org>2023-08-07 22:59:35 +0200
commite4cd4f783c57987954302405702d84015823f320 (patch)
tree8a1e474285243d1e99e86479274d40c24963e551
parent18c453f0e633abb9b317947b011ec6e07780fba8 (diff)
downloadgcc-e4cd4f783c57987954302405702d84015823f320.zip
gcc-e4cd4f783c57987954302405702d84015823f320.tar.gz
gcc-e4cd4f783c57987954302405702d84015823f320.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. ChangeLog: * Makefile.tpl: Substitute @GDCFLAGS@ instead of using $(CFLAGS).
-rw-r--r--Makefile.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index d0fe7e2f..4fdca60 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -447,7 +447,7 @@ LIBCFLAGS = $(CFLAGS)
CXXFLAGS = @CXXFLAGS@
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
GOCFLAGS = $(CFLAGS)
-GDCFLAGS = $(CFLAGS)
+GDCFLAGS = @GDCFLAGS@
GM2FLAGS = $(CFLAGS)
# Pass additional PGO and LTO compiler options to the PGO build.