[5/6,C++] Drop -fpermissive hack
Commit Message
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-18 Pedro Alves <palves@redhat.com>
* build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Remove -fpermissive.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
2015-11-18 Pedro Alves <palves@redhat.com>
* configure: Regenerate.
---
gdb/build-with-cxx.m4 | 3 +--
gdb/configure | 3 +--
gdb/gdbserver/configure | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
@@ -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
@@ -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
@@ -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