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:
parent
32311d8635
commit
8fc783baed
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue