Mesa (main): ac: Align ADDR_FASTCALL with addrlib

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 12 10:16:10 UTC 2021


Module: Mesa
Branch: main
Commit: 195a379a7e8eb7de0f5796dafaf4fc428ff98ef5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=195a379a7e8eb7de0f5796dafaf4fc428ff98ef5

Author: James Park <jpark37 at lagfreegames.com>
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 <bas at basnieuwenhuizen.nl>
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])



More information about the mesa-commit mailing list