GCC 11.1+ emits a note during compilation when there are 64-bit
atomic fields in a structure, because it fixed a compiler bug
by changing the alignment of such fields, which caused ABI change.
Add -Wno-psabi to CFLAGS for such builds in order to silence the
warning. That shouldn't be a problem since we don't expose our
structures to the outside.
[],
[STD_CFLAGS="$STD_CFLAGS -Wno-stringop-overread"])
+# Silence GCC 11.1+ note about the changed alignment, see GL #4841
+AS_CASE([$target_cpu],[i?86],[STD_CFLAGS="$STD_CFLAGS -Wno-psabi"])
+
STD_LDFLAGS=""
# ... except in test code