瀏覽代碼

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.
Thomas Van Lenten 6 年之前
父節點
當前提交
70dc39ed3d
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      objectivec/DevTools/full_mac_build.sh

+ 1 - 2
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