Skip to content

Commit

Permalink
configure: reenable plugins for 32 bits host build
Browse files Browse the repository at this point in the history
Signed-off-by: Pierrick Bouvier <[email protected]>
  • Loading branch information
pbo-linaro committed Dec 16, 2024
1 parent 4b1900f commit 21cbbd0
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 21cbbd0

Please sign in to comment.