Message ID | mvmh6q3dkh6.fsf@suse.de |
---|---|
State | New |
Headers | show |
Series | Use substituted GDCFLAGS | expand |
Ping?
Excerpts from Andreas Schwab via Gcc-patches's message of Juli 24, 2023 11:15 am: > Ping? > OK from me. Thanks, Iain.
diff --git a/Makefile.in b/Makefile.in index 04307ca561b..144bccd2603 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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. diff --git a/configure b/configure index 0d3f5c6455d..3269da9829f 100755 --- a/configure +++ b/configure @@ -12947,6 +12947,7 @@ fi +GDCFLAGS=${GDCFLAGS-${CFLAGS}} # Target tools. diff --git a/configure.ac b/configure.ac index dddab2a56d8..d07a0fa7698 100644 --- a/configure.ac +++ b/configure.ac @@ -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],