build: silence gcc ABI interoperability warning on arm

A gcc bug [1] caused objects built by different versions of gcc
not to interoperate. Gcc helpfully warns when it encounters code that
could be affected.

Since we build everything with one version, and as that versions is far
newer than the last version generating incorrect code, we can silence
that warning without issue.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728

Closes #7495
This commit is contained in:
Avi Kivity
2020-10-28 11:10:09 +02:00
committed by Pekka Enberg
parent a7837a9a3b
commit 193d1942f2

View File

@@ -1154,6 +1154,8 @@ warnings = [
'-Wno-implicit-int-float-conversion',
'-Wno-delete-abstract-non-virtual-dtor',
'-Wno-uninitialized-const-reference',
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728
'-Wno-psabi',
]
warnings = [w