Skip to content

Commit db7a06a

Browse files
pbo-linarostsquad
authored andcommitted
configure: reenable plugins by default for 32-bit hosts
Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Pierrick Bouvier <[email protected]> Message-Id: <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Message-Id: <[email protected]>
1 parent 645bf06 commit db7a06a

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

configure

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -528,25 +528,6 @@ case "$cpu" in
528528
;;
529529
esac
530530

531-
# Now we have our CPU_CFLAGS we can check if we are targeting a 32 or
532-
# 64 bit host.
533-
534-
check_64bit_host() {
535-
cat > $TMPC <<EOF
536-
#if __SIZEOF_POINTER__ != 8
537-
#error not 64 bit system
538-
#endif
539-
int main(void) { return 0; }
540-
EOF
541-
compile_object "$1"
542-
}
543-
544-
if check_64bit_host "$CPU_CFLAGS"; then
545-
host_bits=64
546-
else
547-
host_bits=32
548-
fi
549-
550531
if test -n "$host_arch" && {
551532
! test -d "$source_path/linux-user/include/host/$host_arch" ||
552533
! test -d "$source_path/common-user/host/$host_arch"; }; then
@@ -1072,7 +1053,7 @@ if test "$static" = "yes" ; then
10721053
fi
10731054
plugins="no"
10741055
fi
1075-
if test "$plugins" != "no" && test $host_bits -eq 64; then
1056+
if test "$plugins" != "no"; then
10761057
if has_meson_option "-Dtcg_interpreter=true"; then
10771058
plugins="no"
10781059
else

0 commit comments

Comments
 (0)