aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-11-24 16:34:11 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:28:54 +0100
commit31ffa2aa3c130e987aa659a8a48a0355734299da (patch)
treee35f5d5863dcab90300e33ac5f3d82bfa8e3a06c /meson.build
parente1f9f73ba15e0356ce1aa3317d7bd294f587ab58 (diff)
downloadqemu-31ffa2aa3c130e987aa659a8a48a0355734299da.zip
qemu-31ffa2aa3c130e987aa659a8a48a0355734299da.tar.gz
qemu-31ffa2aa3c130e987aa659a8a48a0355734299da.tar.bz2
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>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 6cb2b1a..77d2ae8 100644
--- a/meson.build
+++ b/meson.build
@@ -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: