* [binutils-gdb] Use substituted GDCFLAGS
@ 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=19824f6fab29fddebc4e7674a730d65bd3efd7ea
commit 19824f6fab29fddebc4e7674a730d65bd3efd7ea
Author: Andreas Schwab <schwab@suse.de>
Date: Mon Aug 7 13:07:47 2023 +0200
Use substituted GDCFLAGS
Use the substituted value for GCDFLAGS instead of hardcoding $(CFLAGS) so
that the subdir configure scripts use the configured value.
* configure.ac (GDCFLAGS): Set default from ${CFLAGS}.
Diff:
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 861432a5b23..5d25dc864c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3717,6 +3717,7 @@ AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)
AC_SUBST(GDC)
AC_SUBST(GDCFLAGS)
+GDCFLAGS=${GDCFLAGS-${CFLAGS}}
AC_SUBST(PKG_CONFIG_PATH)
GCC_PLUGIN_OPTION(PLUGIN_OPTION)
^ 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] Use substituted GDCFLAGS 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).