Use -Wno-psabi for arm builds on Travis/Gitlab (#3264)

This avoids spamming logs with "note: parameter passing for argument of type " warnings.
This commit is contained in:
Alexander Block 2020-01-02 18:36:29 +01:00 committed by UdjinM6
parent 7ff96c2405
commit ca63ad3482

View File

@ -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"