From: Pedro Alves Date: Thu, 19 Nov 2015 14:32:54 +0000 (+0000) Subject: [C++] Drop -fpermissive hack X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dad44a1fbaa460e5ff80ce203196bc1c1317dc60;p=binutils-gdb.git [C++] Drop -fpermissive hack Both x86_64 GNU/Linux and x86_64 mingw-w64 build cleanly with --enable-targets=all. Let's drop the -fpermissive hack, in order to let the buildbot catch C++ build regressions for us. gdb/ChangeLog: 2015-11-19 Pedro Alves * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Remove -fpermissive. * configure: Regenerate. gdb/gdbserver/ChangeLog: 2015-11-19 Pedro Alves * configure: Regenerate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5cc06661e63..f136fb70af7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-11-19 Pedro Alves + + * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Remove -fpermissive. + * configure: Regenerate. + 2015-11-19 Pedro Alves * breakpoint.c (software_watchpoint_add_no_memory_location) diff --git a/gdb/build-with-cxx.m4 b/gdb/build-with-cxx.m4 index 8802f4d6ae8..b6284fda2ff 100644 --- a/gdb/build-with-cxx.m4 +++ b/gdb/build-with-cxx.m4 @@ -32,8 +32,7 @@ AC_DEFUN([GDB_AC_BUILD_WITH_CXX], [enable_build_with_cxx=no]) if test "$enable_build_with_cxx" = "yes"; then - # We're using -fpermissive as shortcut for now. - COMPILER='$(CXX) -fpermissive' + COMPILER='$(CXX)' else COMPILER='$(CC)' fi diff --git a/gdb/configure b/gdb/configure index fd7ea1c98c6..8ef3cf26a7a 100755 --- a/gdb/configure +++ b/gdb/configure @@ -5015,8 +5015,7 @@ fi if test "$enable_build_with_cxx" = "yes"; then - # We're using -fpermissive as shortcut for now. - COMPILER='$(CXX) -fpermissive' + COMPILER='$(CXX)' else COMPILER='$(CC)' fi diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 86e1b64c958..012ea5e254f 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2015-11-19 Pedro Alves + + * configure: Regenerate. + 2015-11-19 Yao Qi * linux-aarch64-low.c (emit_data_processing_reg): Change opcode diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 409f42bf388..4b9aa9553b9 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -4827,8 +4827,7 @@ fi if test "$enable_build_with_cxx" = "yes"; then - # We're using -fpermissive as shortcut for now. - COMPILER='$(CXX) -fpermissive' + COMPILER='$(CXX)' else COMPILER='$(CC)' fi