From 70dc39ed3d677c39c6b0abd3fa76bfa0db54ac14 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 11 Mar 2019 15:13:52 -0400 Subject: [PATCH] Stop enabling more warnings for CXX compiles. For reasons I don't follow, when passing CXXFLAGS to configure, the build ends up breaking because something along the way fails to detect C++11 support within the third_party/googletest part of the build. --- objectivec/DevTools/full_mac_build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/objectivec/DevTools/full_mac_build.sh b/objectivec/DevTools/full_mac_build.sh index 61d85c6076876..7543fdf029a8d 100755 --- a/objectivec/DevTools/full_mac_build.sh +++ b/objectivec/DevTools/full_mac_build.sh @@ -163,8 +163,7 @@ if [[ "${DO_AUTOGEN}" == "yes" ]] ; then header "Running autogen & configure" ./autogen.sh ./configure \ - CPPFLAGS="-mmacosx-version-min=10.9 -Wunused-const-variable -Wunused-function" \ - CXXFLAGS="-Wnon-virtual-dtor -Woverloaded-virtual" + CPPFLAGS="-mmacosx-version-min=10.9 -Wunused-const-variable -Wunused-function" fi if [[ "${DO_CLEAN}" == "yes" ]] ; then