Skip to content

Commit

Permalink
Add maybe-unitialized to Capstone C args.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Nov 30, 2023
1 parent 2daf3ea commit a49b747
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions subprojects/packagefiles/capstone-next/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ libcapstone_c_args = [
'-DCAPSTONE_HAS_TRICORE',
]

if meson.get_compiler('c').has_argument('-Wno-maybe-unitialized')
libcapstone_c_args += '-Wno-maybe-unitialized'
endif

libcapstone = library('capstone', cs_files,
c_args: libcapstone_c_args,
include_directories: capstone_includes,
Expand Down

0 comments on commit a49b747

Please sign in to comment.