diff options
author | Arsen Arsenović <arsen@aarsen.me> | 2023-08-05 15:02:06 +0200 |
---|---|---|
committer | Arsen Arsenović <arsen@gcc.gnu.org> | 2023-08-07 22:59:35 +0200 |
commit | e4cd4f783c57987954302405702d84015823f320 (patch) | |
tree | 8a1e474285243d1e99e86479274d40c24963e551 | |
parent | 18c453f0e633abb9b317947b011ec6e07780fba8 (diff) | |
download | gcc-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.tpl | 2 |
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. |