mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
freedreno/meson: sort list of options passed to get_supported_arguments()
Sort the list of compiler options passed to get_supported_arguments(), this also makes it easier to spot and remove duplicates. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33209>
This commit is contained in:
parent
38c0ed5fc4
commit
cd5c135349
3 changed files with 15 additions and 16 deletions
|
|
@ -11,8 +11,8 @@ computerator_files = [
|
|||
]
|
||||
|
||||
computerator_cpp_args = cpp.get_supported_arguments([
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-array-bounds',
|
||||
'-Wno-sign-compare',
|
||||
])
|
||||
|
||||
computerator = executable(
|
||||
|
|
|
|||
|
|
@ -149,9 +149,9 @@ tu_cpp_args += cpp.get_supported_arguments([
|
|||
'-Wno-sign-compare',
|
||||
'-Wno-switch',
|
||||
'-Wno-unused-function',
|
||||
'-Wno-vla-cxx-extension',
|
||||
'-Wno-writable-strings',
|
||||
'-Wno-write-strings',
|
||||
'-Wno-vla-cxx-extension',
|
||||
])
|
||||
|
||||
libvulkan_freedreno = shared_library(
|
||||
|
|
|
|||
|
|
@ -230,28 +230,27 @@ freedreno_includes = [
|
|||
|
||||
freedreno_c_args = [no_override_init_args]
|
||||
freedreno_c_args += cc.get_supported_arguments([
|
||||
'-Wno-packed-bitfield-compat',
|
||||
'-Wno-array-bounds',
|
||||
'-Wno-packed-bitfield-compat',
|
||||
])
|
||||
|
||||
freedreno_cpp_args = []
|
||||
freedreno_cpp_args += cpp.get_supported_arguments([
|
||||
'-fno-exceptions',
|
||||
'-fno-rtti',
|
||||
'-Wno-packed-bitfield-compat',
|
||||
'-Wno-c99-designator',
|
||||
'-Wno-reorder-init-list',
|
||||
'-Wno-address-of-temporary',
|
||||
'-Wno-c++11-narrowing',
|
||||
'-Wno-narrowing',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-reorder',
|
||||
'-Wno-array-bounds',
|
||||
'-Wno-overflow',
|
||||
'-Wno-c++11-narrowing',
|
||||
'-Wno-vla-cxx-extension',
|
||||
'-Wno-address-of-packed-member',
|
||||
'-Wno-address-of-temporary',
|
||||
'-Wno-array-bounds',
|
||||
'-Wno-c++11-narrowing',
|
||||
'-Wno-c99-designator',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-narrowing',
|
||||
'-Wno-overflow',
|
||||
'-Wno-packed-bitfield-compat',
|
||||
'-Wno-reorder',
|
||||
'-Wno-reorder-init-list',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-vla-cxx-extension',
|
||||
])
|
||||
|
||||
libfreedreno_dependencies = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue