qemu: re-add patch to unbreak musl (ifunc not supported).
This commit is contained in:
parent
cc13dc5b21
commit
9bbc625931
11
srcpkgs/qemu/patches/musl-ifunc.patch
Normal file
11
srcpkgs/qemu/patches/musl-ifunc.patch
Normal 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>
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user