diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-07-06 10:37:50 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-07-06 10:41:43 -0700 |
commit | 1edddf5de41b053049ce0b0bdbc39c2fbb743c40 (patch) | |
tree | 59a5d271f3e99cf6a7ae8a61dae2e252bf537553 | |
parent | 088b348dbe82689ce1782653c8fdcebb3b636eb5 (diff) | |
download | bitcoin-1edddf5de41b053049ce0b0bdbc39c2fbb743c40.tar.xz |
Avoid GCC 7.1 ABI change warning in guix build
-rwxr-xr-x | contrib/guix/libexec/build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh index e457840d15..5528b76b50 100755 --- a/contrib/guix/libexec/build.sh +++ b/contrib/guix/libexec/build.sh @@ -254,6 +254,10 @@ esac # CXXFLAGS HOST_CXXFLAGS="$HOST_CFLAGS" +case "$HOST" in + arm-linux-gnueabihf) HOST_CXXFLAGS="${HOST_CXXFLAGS} -Wno-psabi" ;; +esac + # LDFLAGS case "$HOST" in *linux*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++ -Wl,-O2" ;; |