configure.ac: enable-werror: add -Wno-error=psabi

Don't fail ARM builds because of the GCC7 note about ABI change for
fixing a bug introduced in GCC5 for C++ code.

Fix for:
  note: parameter passing for argument of type ... changed in GCC 7.1

Related: https://gcc.gnu.org/gcc-7/changes.html
Change-Id: I4497ba8f71215284df33c48c18864e1058520723
This commit is contained in:
Oliver Smith 2022-07-11 11:25:07 +02:00
parent 32311d8635
commit 8fc783baed
1 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,8 @@ then
WERROR_FLAGS="-Werror"
WERROR_FLAGS+=" -Wno-error=deprecated -Wno-error=deprecated-declarations"
WERROR_FLAGS+=" -Wno-error=cpp" # "#warning"
# GCC7 ABI change note for ARM: https://gcc.gnu.org/gcc-7/changes.html
WERROR_FLAGS+=" -Wno-error=psabi"
CFLAGS="$CFLAGS $WERROR_FLAGS"
CPPFLAGS="$CPPFLAGS $WERROR_FLAGS"
fi