Fix gdbsupport build on compilers that don't default to C++11 or above
[deliverable/binutils-gdb.git] / gdbsupport / Makefile.am
index 48e6079fb9f56f8d2102f45290deab7f827e574e..4b8a604ce52e2f0a9c5a0e95556cf609d6418bb3 100644 (file)
@@ -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)
 
@@ -68,3 +70,7 @@ libgdbsupport_a_SOURCES = \
     thread-pool.c \
     xml-utils.c        \
     $(selftest)
+
+# Double-check that no defines are missing from our configury.
+check-defines:
+       cd $(srcdir) && emacs --script check-defines.el
This page took 0.022663 seconds and 4 git commands to generate.