]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix gdbsupport build on compilers that don't default to C++11 or above users/palves/config.h
authorPedro Alves <palves@redhat.com>
Wed, 15 Jan 2020 21:55:29 +0000 (21:55 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 16 Jan 2020 18:13:54 +0000 (18:13 +0000)
commit4019e26332281c74b6816557f8c9a05e7cdb8ede
treed77282f2f249ffdb17cc5c857fbab6aeefc7afee
parentb77c4ae6a7d76705ff97bb812c7c002c5a4b1465
Fix gdbsupport build on compilers that don't default to C++11 or above

gdbsupport fails to build with compilers that don't default to C++11
or above.  gdbsupport's configure.ac is already using
AX_CXX_COMPILE_STDCXX, which sets CXX_DIALECT to the -std=gnu++11
switch if necessary, but the problem is that nowhere are we using
CXX_DIALECT.  This fixes it.

gdbsupport/ChangeLog:
yyyy-mm-dd   Pedro Alves  <palves@redhat.com>

* Makefile.am: Append CXX_DIALECT to CXX.
* Makefile.in: Regenerate.
gdbsupport/Makefile.am
gdbsupport/Makefile.in