osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/28556 )
Change subject: configure.ac: enable-werror: add -Wno-error=psabi ......................................................................
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 --- M configure.ac 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/56/28556/1
diff --git a/configure.ac b/configure.ac index 37444a5..3975d7e 100644 --- a/configure.ac +++ b/configure.ac @@ -113,6 +113,8 @@ 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