From ca63ad348236d6af06f822adca1ed3edf663f5f5 Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Thu, 2 Jan 2020 18:36:29 +0100 Subject: [PATCH] Use -Wno-psabi for arm builds on Travis/Gitlab (#3264) This avoids spamming logs with "note: parameter passing for argument of type " warnings. --- ci/matrix.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/matrix.sh b/ci/matrix.sh index 870c403877..f10812b73d 100755 --- a/ci/matrix.sh +++ b/ci/matrix.sh @@ -36,7 +36,9 @@ if [ "$BUILD_TARGET" = "arm-linux" ]; then export HOST=arm-linux-gnueabihf export PACKAGES="g++-arm-linux-gnueabihf" export CHECK_DOC=1 - export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports" + # -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1" + # This could be removed once the ABI change warning does not show up by default + export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi" elif [ "$BUILD_TARGET" = "win32" ]; then export HOST=i686-w64-mingw32 export DPKG_ADD_ARCH="i386"