ref: 00238b7c01b599627af12cfb908137013b544590
parent: e5d28602167bd70435213ae04b152b3edb153d2d
author: Johann <johann.koenig@duck.com>
date: Thu Aug 30 10:07:02 EDT 2018
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
--- a/configure
+++ b/configure
@@ -634,6 +634,12 @@
# 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