mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
amd: Pass addrlib cpp args to the tests
The declaration and definition used by tests otherwise differs from addrlib. Found by LTO -Werror=lto-type-mismatch. Fixes:1d69c0419b("amd/addrlib: prevent defining regparm differently") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: David Heidelberg <david@ixit.cz> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31613> (cherry picked from commitd14d3c5bdd)
This commit is contained in:
parent
97aba55da9
commit
e3cd0dcb15
2 changed files with 3 additions and 1 deletions
|
|
@ -114,7 +114,7 @@
|
|||
"description": "amd: Pass addrlib cpp args to the tests",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "1d69c0419b39952ec9ad869fbec58be1c033cdb6",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@ if with_tests and not with_platform_windows
|
|||
include_directories : [
|
||||
inc_amd, inc_include, inc_src,
|
||||
],
|
||||
c_args : cpp_args_addrlib,
|
||||
dependencies: [idep_amdgfxregs_h, dep_libdrm_amdgpu, idep_mesautil],
|
||||
),
|
||||
suite: ['amd']
|
||||
|
|
@ -169,6 +170,7 @@ if with_tests and not with_platform_windows
|
|||
include_directories : [
|
||||
inc_amd, inc_include, inc_src,
|
||||
],
|
||||
c_args : cpp_args_addrlib,
|
||||
dependencies: [idep_amdgfxregs_h, dep_libdrm_amdgpu, idep_mesautil, dep_openmp],
|
||||
),
|
||||
suite: ['amd']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue