Skip to content

Commit d30eeb6

Browse files
codablockUdjinM6
authored andcommitted
Use -Wno-psabi for arm builds on Travis/Gitlab (#3264)
This avoids spamming logs with "note: parameter passing for argument of type " warnings.
1 parent 1df3c67 commit d30eeb6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/matrix.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ if [ "$BUILD_TARGET" = "arm-linux" ]; then
3636
export HOST=arm-linux-gnueabihf
3737
export PACKAGES="g++-arm-linux-gnueabihf"
3838
export CHECK_DOC=1
39-
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
39+
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
40+
# This could be removed once the ABI change warning does not show up by default
41+
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi"
4042
elif [ "$BUILD_TARGET" = "win32" ]; then
4143
export HOST=i686-w64-mingw32
4244
export DPKG_ADD_ARCH="i386"

0 commit comments

Comments
 (0)