X-Git-Url: https://git.tld-linux.org/?p=packages%2Fqemu.git;a=blobdiff_plain;f=x32.patch;h=e135219113f804049520db9fa88b9aba3822609e;hp=250576cbcb01f3a064d99db1dc0b2c5158b8688c;hb=85eb08d31c8399445470bfd645d00a42223ab2eb;hpb=95b38bc64e7561f4d065aa9eab04d1ba3f8cbae6 diff --git a/x32.patch b/x32.patch index 250576c..e135219 100644 --- a/x32.patch +++ b/x32.patch @@ -9,25 +9,15 @@ ;; arm|aarch64) libseccomp_minver="2.2.3" -@@ -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 @@ +@@ -6148,7 +6148,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" - +-if { test "$cpu" = "i386" || test "$cpu" = "x86_64"; } && \ ++if { test "$cpu" = "i386" || test "$cpu" = "x86_64" || test "$cpu" = "x32"; } && \ + test "$targetos" != "Darwin" && test "$targetos" != "SunOS" && \ + test "$softmmu" = yes ; then + # Different host OS linkers have different ideas about the name of the ELF --- qemu-2.6.0/include/qemu/atomic.h~ 2016-07-17 18:37:57.000000000 +0200 +++ qemu-2.6.0/include/qemu/atomic.h 2016-07-17 18:38:33.485893530 +0200 @@ -20,7 +20,7 @@