aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2025-01-16 16:02:50 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-01-17 10:44:57 +0000
commitdb7a06ade11eb380aeef0b7c204b699878bdd799 (patch)
tree87a84a089a6717028e03bfa2cc15f752cb1f10de
parent645bf0601215979804264f593300644692adcd15 (diff)
downloadqemu-db7a06ade11eb380aeef0b7c204b699878bdd799.zip
qemu-db7a06ade11eb380aeef0b7c204b699878bdd799.tar.gz
qemu-db7a06ade11eb380aeef0b7c204b699878bdd799.tar.bz2
configure: reenable plugins by default for 32-bit hosts
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20241217224306.2900490-12-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250116160306.1709518-22-alex.bennee@linaro.org>
-rwxr-xr-xconfigure21
1 files changed, 1 insertions, 20 deletions
diff --git a/configure b/configure
index 1833637..02f1dd2 100755
--- a/configure
+++ b/configure
@@ -528,25 +528,6 @@ case "$cpu" in
;;
esac
-# Now we have our CPU_CFLAGS we can check if we are targeting a 32 or
-# 64 bit host.
-
-check_64bit_host() {
-cat > $TMPC <<EOF
-#if __SIZEOF_POINTER__ != 8
-#error not 64 bit system
-#endif
-int main(void) { return 0; }
-EOF
- compile_object "$1"
-}
-
-if check_64bit_host "$CPU_CFLAGS"; then
- host_bits=64
-else
- host_bits=32
-fi
-
if test -n "$host_arch" && {
! test -d "$source_path/linux-user/include/host/$host_arch" ||
! test -d "$source_path/common-user/host/$host_arch"; }; then
@@ -1072,7 +1053,7 @@ if test "$static" = "yes" ; then
fi
plugins="no"
fi
-if test "$plugins" != "no" && test $host_bits -eq 64; then
+if test "$plugins" != "no"; then
if has_meson_option "-Dtcg_interpreter=true"; then
plugins="no"
else