diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index e7a902760f..3583e5bd34 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,3 +1,8 @@ +2020-01-17 Pedro Alves + + * Makefile.am: Append CXX_DIALECT to CXX. + * Makefile.in: Regenerate. + 2020-01-17 Pedro Alves * configure.ac: Generate config.h instead of support-config.h. diff --git a/gdbsupport/Makefile.am b/gdbsupport/Makefile.am index 1a001a0081..4b8a604ce5 100644 --- a/gdbsupport/Makefile.am +++ b/gdbsupport/Makefile.am @@ -24,6 +24,8 @@ AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \ -I../gnulib/import -I$(srcdir)/../gnulib/import \ -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd +override CXX += $(CXX_DIALECT) + override CC := $(CXX) override CFLAGS := $(CXXFLAGS) diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in index 5bbab1c310..31065af244 100644 --- a/gdbsupport/Makefile.in +++ b/gdbsupport/Makefile.in @@ -688,6 +688,8 @@ uninstall-am: .PRECIOUS: Makefile +override CXX += $(CXX_DIALECT) + override CC := $(CXX) override CFLAGS := $(CXXFLAGS)