On 09/05/2023 18.33, Richard Henderson wrote:
From: Thomas Huth <th...@redhat.com>

By using target_words_bigendian() instead of an ifdef,
we can build this code once.

Signed-off-by: Thomas Huth <th...@redhat.com>
[rth: Type change done in a separate patch]
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
...
diff --git a/disas/meson.build b/disas/meson.build
index f40230c58f..2ae44691fa 100644
--- a/disas/meson.build
+++ b/disas/meson.build
@@ -13,4 +13,5 @@ common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: 
files('xtensa.c'))
  common_ss.add(when: capstone, if_true: [files('capstone.c'), capstone])
softmmu_ss.add(files('disas-mon.c'))
-specific_ss.add(files('disas.c'), capstone)
+common_ss.add(files('disas.c'), capstone)

I guess you could drop the "capstone" here now since it is already added to common_ss now three lines earlier.

 Thomas


Reply via email to