Skip to content

Commit 1edddf5

Browse files
committed
Avoid GCC 7.1 ABI change warning in guix build
1 parent 088b348 commit 1edddf5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/guix/libexec/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ esac
254254
# CXXFLAGS
255255
HOST_CXXFLAGS="$HOST_CFLAGS"
256256

257+
case "$HOST" in
258+
arm-linux-gnueabihf) HOST_CXXFLAGS="${HOST_CXXFLAGS} -Wno-psabi" ;;
259+
esac
260+
257261
# LDFLAGS
258262
case "$HOST" in
259263
*linux*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++ -Wl,-O2" ;;

0 commit comments

Comments
 (0)