diff options
author | Pedro Alves <palves@redhat.com> | 2016-09-05 19:10:44 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-09-05 19:10:44 +0100 |
commit | cf6de44d75082116865a85cbf94db2632b679361 (patch) | |
tree | 5f9fc201a3675b3d4c32fc8ff36f909cbcbbf8dd /gdb/configure.ac | |
parent | f245535cf583ae4ca13b10d47b3c7d3334593ece (diff) | |
download | gdb-cf6de44d75082116865a85cbf94db2632b679361.zip gdb-cf6de44d75082116865a85cbf94db2632b679361.tar.gz gdb-cf6de44d75082116865a85cbf94db2632b679361.tar.bz2 |
gdb/: Require a C++ compiler
This removes all support for building gdb & gdbserver with a C
compiler from gdb & gdbserver's build machinery.
gdb/ChangeLog:
2016-09-05 Pedro Alves <palves@redhat.com>
* NEWS: Mention that a C++ compiler is now required.
* Makefile.in (COMPILER, COMPILER_CFLAGS): Remove.
(COMPILE.pre, CC_LD): Use CXX directly.
(INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly.
* acinclude.m4: Don't include build-with-cxx.m4.
* build-with-cxx.m4: Delete file.
* configure.ac: Remove GDB_AC_BUILD_WITH_CXX call.
* warning.m4: Assume $enable_build_with_cxx is yes.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
2016-09-05 Pedro Alves <palves@redhat.com>
* Makefile.in (COMPILER, COMPILER_CFLAGS): Remove.
(COMPILE.pre, CC_LD): Use CXX directly.
(INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly.
* acinclude.m4: Don't include build-with-cxx.m4.
* configure.ac: Remove GDB_AC_BUILD_WITH_CXX call.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index f774db7..e451e60 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -38,9 +38,6 @@ AC_CONFIG_AUX_DIR(..) AC_CANONICAL_SYSTEM AC_ARG_PROGRAM -# See if we are building with C++, and substitute COMPILER. -GDB_AC_BUILD_WITH_CXX - # Dependency checking. ZW_CREATE_DEPDIR ZW_PROG_COMPILER_DEPENDENCIES([CC]) |