diff options
-rw-r--r-- | gdbsupport/Makefile.am | 2 | ||||
-rw-r--r-- | gdbsupport/Makefile.in | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gdbsupport/Makefile.am b/gdbsupport/Makefile.am index 3180ddebd4d..0d1ae8a9ff7 100644 --- a/gdbsupport/Makefile.am +++ b/gdbsupport/Makefile.am @@ -24,6 +24,8 @@ AM_CPPFLAGS = -I$(srcdir)/config.h -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 f9931e1f102..a199dfa356b 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) |