mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 21:33:59 +08:00
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}. * configure: Regenerate. * Makefile.in (GDCFLAGS): Substitute @GDCFLAGS@.
This commit is contained in:
parent
129feec0ba
commit
1ed21e23d6
@ -444,7 +444,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.
|
||||
|
1
configure
vendored
1
configure
vendored
@ -12947,6 +12947,7 @@ fi
|
||||
|
||||
|
||||
|
||||
GDCFLAGS=${GDCFLAGS-${CFLAGS}}
|
||||
|
||||
# Target tools.
|
||||
|
||||
|
@ -3662,6 +3662,7 @@ AC_SUBST(CFLAGS)
|
||||
AC_SUBST(CXXFLAGS)
|
||||
AC_SUBST(GDC)
|
||||
AC_SUBST(GDCFLAGS)
|
||||
GDCFLAGS=${GDCFLAGS-${CFLAGS}}
|
||||
|
||||
# Target tools.
|
||||
AC_ARG_WITH([build-time-tools],
|
||||
|
Loading…
Reference in New Issue
Block a user