diff options
Diffstat (limited to 'main/xen/xenqemu-configure-ifunc.patch')
-rw-r--r-- | main/xen/xenqemu-configure-ifunc.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/xen/xenqemu-configure-ifunc.patch b/main/xen/xenqemu-configure-ifunc.patch new file mode 100644 index 0000000000..a201e141e6 --- /dev/null +++ b/main/xen/xenqemu-configure-ifunc.patch @@ -0,0 +1,11 @@ +--- ./tools/qemu-xen/configure.orig ++++ ./tools/qemu-xen/configure +@@ -1805,7 +1805,7 @@ + EOF + if compile_object "" ; then + if has readelf; then +- if readelf --syms $TMPO 2>/dev/null |grep -q "IFUNC.*foo"; then ++ if readelf --syms $TMPO 2>/dev/null |grep -q "IFUNC.*foo" && ldd $TMPO >/dev/null 2>&1; then + avx2_opt="yes" + fi + fi |