public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] toplevel: Substitute GDCFLAGS instead of using CFLAGS
@ 2023-08-12  1:02 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-08-12  1:02 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e26b2c86a1a10a10d59b6e553a6f1fdc1fabb7f8

commit e26b2c86a1a10a10d59b6e553a6f1fdc1fabb7f8
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Mon Aug 7 13:07:48 2023 +0200

    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:
---
 Makefile.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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@

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-12  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-12  1:02 [binutils-gdb] toplevel: Substitute GDCFLAGS instead of using CFLAGS Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).