qemu: re-add patch to unbreak musl (ifunc not supported).

This commit is contained in:
Juan RP 2016-09-05 07:41:30 +02:00
parent cc13dc5b21
commit 9bbc625931
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- util/cutils.c.orig 2016-09-05 07:39:30.602027263 +0200
+++ util/cutils.c 2016-09-05 07:39:47.473230538 +0200
@@ -263,7 +263,7 @@ static size_t buffer_find_nonzero_offset
return i * sizeof(VECTYPE);
}
-#if defined CONFIG_AVX2_OPT
+#if defined(__GLIBC__) && defined CONFIG_AVX2_OPT && QEMU_GNUC_PREREQ(4, 9)
#pragma GCC push_options
#pragma GCC target("avx2")
#include <cpuid.h>

View File

@ -1,7 +1,7 @@
# Template file for 'qemu'
pkgname=qemu
version=2.7.0
revision=1
revision=2
short_desc="Open Source Processor Emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://qemu.org"