--- qemu-2.2.0/configure~ 2015-03-26 19:52:14.000000000 +0100 +++ qemu-2.2.0/configure 2015-03-26 19:56:34.255072716 +0100 @@ -1819,7 +1819,7 @@ # libseccomp check if test "$seccomp" != "no" ; then - if test "$cpu" = "i386" || test "$cpu" = "x86_64" && + if test "$cpu" = "i386" || test "$cpu" = "x86_64" || test "$cpu" = "x32" && $pkg_config --atleast-version=2.1.1 libseccomp; then libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`" QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`" @@ -2932,7 +2932,7 @@ ########################################## # TPM passthrough is only on x86 Linux -if test "$targetos" = Linux && test "$cpu" = i386 -o "$cpu" = x86_64; then +if test "$targetos" = Linux && test "$cpu" = i386 -o "$cpu" = x86_64 -o "$cpu" = x32; then tpm_passthrough=$tpm else tpm_passthrough=no @@ -4161,7 +4161,7 @@ # Mac OS X ships with a broken assembler roms= -if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \ +if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" -o "$cpu" = "x32" \) -a \ "$targetos" != "Darwin" -a "$targetos" != "SunOS" -a \ "$softmmu" = yes ; then roms="optionrom"