Module: Mesa Branch: main Commit: 195a379a7e8eb7de0f5796dafaf4fc428ff98ef5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=195a379a7e8eb7de0f5796dafaf4fc428ff98ef5
Author: James Park <[email protected]> Date: Wed Nov 10 23:24:38 2021 -0800 ac: Align ADDR_FASTCALL with addrlib Fixes linker errors for 32-bit Windows. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13749> --- src/amd/common/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/common/meson.build b/src/amd/common/meson.build index 69b0bfb0716..79003550d84 100644 --- a/src/amd/common/meson.build +++ b/src/amd/common/meson.build @@ -111,6 +111,7 @@ libamd_common = static_library( idep_mesautil, idep_nir_headers, idep_nir ], gnu_symbol_visibility : 'hidden', + c_args : ['-DADDR_FASTCALL='] ) idep_amdgfxregs_h = declare_dependency(sources : [amdgfxregs_h])
