projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd77e2
)
Use substituted GDCFLAGS
author
Andreas Schwab
<schwab@suse.de>
Mon, 7 Aug 2023 11:07:47 +0000
(13:07 +0200)
committer
Alan Modra
<amodra@gmail.com>
Sat, 12 Aug 2023 00:55:06 +0000
(10:25 +0930)
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}.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 861432a5b23f5d77879c77a96bdacd01a2e66920..5d25dc864c36968ad9eb7350afd3883fae91aab7 100644
(file)
--- 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)