mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
nvk: use c.get_supported_arguments for compiler flags
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27853>
This commit is contained in:
parent
c398bc5909
commit
a62fba6b62
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ libnouveau_noop_drm_shim = shared_library(
|
|||
'nouveau_noop_drm_shim',
|
||||
'nouveau_noop.c',
|
||||
include_directories: [inc_include, inc_src],
|
||||
c_args: [ '-Wno-gnu-variable-sized-type-not-at-end' ],
|
||||
c_args: [ cc.get_supported_arguments('-Wno-gnu-variable-sized-type-not-at-end') ],
|
||||
dependencies: dep_drm_shim,
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
install : true,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ libnouveau_ws = static_library(
|
|||
inc_include,
|
||||
inc_src,
|
||||
],
|
||||
c_args: [ '-Wno-gnu-variable-sized-type-not-at-end' ],
|
||||
c_args: [ cc.get_supported_arguments('-Wno-gnu-variable-sized-type-not-at-end') ],
|
||||
dependencies : [
|
||||
dep_libdrm,
|
||||
dep_libdrm_nouveau,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue