From: Johann Date: Thu, 30 Aug 2018 21:07:02 +0000 (-0700) Subject: silence c++ abi warning X-Git-Tag: v1.8.0~379 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00238b7c01b599627af12cfb908137013b544590;p=libvpx silence c++ abi warning Linking c++ libraries built with gcc 6 and gcc 7 on arm generates some warnings because of incompatibilities between those compilers: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 libvpx does not generate a c++ library. C++ is only used for examples and tests. Change-Id: I3d5d5ef3fb66743bff26a833d6641898975e9f71 --- diff --git a/configure b/configure index 6c0adc7f9..8f73067aa 100755 --- a/configure +++ b/configure @@ -634,6 +634,12 @@ process_toolchain() { # Avoid this warning for third_party C++ sources. Some reorganization # would be needed to apply this only to test/*.cc. check_cflags -Wshorten-64-to-32 && add_cflags_only -Wshorten-64-to-32 + + # Quiet gcc 6 vs 7 abi warnings: + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 + if enabled arm; then + check_add_cxxflags -Wno-psabi + fi fi if enabled icc; then