X-Git-Url: https://git.tld-linux.org/?p=packages%2Fqemu.git;a=blobdiff_plain;f=x32.patch;fp=x32.patch;h=c0dec10090e9f34e7cad5564024e0ad549c110c5;hp=54e6a61f51738b66d2c7d9f0c095d8741b49e8c1;hb=3e5fdc14d3cab22239a38dece4826cdb76365bb4;hpb=c49c625688e80e7516cb67d5c03234390448e3ad diff --git a/x32.patch b/x32.patch index 54e6a61..c0dec10 100644 --- a/x32.patch +++ b/x32.patch @@ -7,16 +7,5 @@ -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 + test "$targetos" != "Haiku" && 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 @@ - /* Compiler barrier */ - #define barrier() ({ asm volatile("" ::: "memory"); (void)0; }) - --#ifdef __ATOMIC_RELAXED -+#if defined(__ATOMIC_RELAXED) && !defined(__ILP32__) - /* For C11 atomic ops */ - - /* Manual memory barriers