mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 03:33:27 -03:00
Avoid GCC 7.1 ABI change warning in guix build
This commit is contained in:
parent
088b348dbe
commit
1edddf5de4
1 changed files with 4 additions and 0 deletions
|
@ -254,6 +254,10 @@ esac
|
||||||
# CXXFLAGS
|
# CXXFLAGS
|
||||||
HOST_CXXFLAGS="$HOST_CFLAGS"
|
HOST_CXXFLAGS="$HOST_CFLAGS"
|
||||||
|
|
||||||
|
case "$HOST" in
|
||||||
|
arm-linux-gnueabihf) HOST_CXXFLAGS="${HOST_CXXFLAGS} -Wno-psabi" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# LDFLAGS
|
# LDFLAGS
|
||||||
case "$HOST" in
|
case "$HOST" in
|
||||||
*linux*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++ -Wl,-O2" ;;
|
*linux*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++ -Wl,-O2" ;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue