mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
cpu: Remove capstone meson dependency
Only disas.c requires capstone CFLAGS, not cpu.c. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20221130135241.85060-2-philmd@linaro.org>
This commit is contained in:
parent
e1f9f73ba1
commit
31ffa2aa3c
1 changed files with 2 additions and 1 deletions
|
@ -3140,11 +3140,12 @@ if have_block
|
|||
endif
|
||||
|
||||
common_ss.add(files('cpus-common.c'))
|
||||
specific_ss.add(files('cpu.c'))
|
||||
|
||||
subdir('softmmu')
|
||||
|
||||
common_ss.add(capstone)
|
||||
specific_ss.add(files('cpu.c', 'disas.c'), capstone)
|
||||
specific_ss.add(files('disas.c'), capstone)
|
||||
|
||||
# Work around a gcc bug/misfeature wherein constant propagation looks
|
||||
# through an alias:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue