amd/addrlib: Ignore self-assign warnings.

There was a preference to not fix addrlib to make syncing with
upstream easier.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13164>
This commit is contained in:
Bas Nieuwenhuizen 2021-11-09 11:35:39 +01:00 committed by Marge Bot
parent 22673a980f
commit 966c171d88

View file

@ -62,7 +62,8 @@ else
endif
foreach w : ['-Wno-unused-variable', '-Wno-unused-local-typedefs',
'-Wno-unused-but-set-variable', '-Wno-maybe-uninitialized']
'-Wno-unused-but-set-variable', '-Wno-maybe-uninitialized',
'-Wno-self-assign']
if cpp.has_argument(w)
cpp_args_addrlib += w
endif