diff options
-rw-r--r-- | sysutils/xen-tools/files/patch-tools_qemu-xen_configure | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/xen-tools/files/patch-tools_qemu-xen_configure b/sysutils/xen-tools/files/patch-tools_qemu-xen_configure new file mode 100644 index 000000000000..316633041340 --- /dev/null +++ b/sysutils/xen-tools/files/patch-tools_qemu-xen_configure @@ -0,0 +1,10 @@ +--- tools/qemu-xen/configure.orig 2015-06-10 11:43:51 UTC ++++ tools/qemu-xen/configure +@@ -1451,6 +1451,7 @@ if test "$stack_protector" != "no" ; the + # We need to check both a compile and a link, since some compiler + # setups fail only on a .c->.o compile and some only at link time + if do_cc $QEMU_CFLAGS -Werror $flag -c -o $TMPO $TMPC && ++ do_cxx $QEMU_CXXFLAGS -Werror $flag -o $TMPE $TMPCXX $TMPO $LDFLAGS && + compile_prog "-Werror $flag" ""; then + QEMU_CFLAGS="$QEMU_CFLAGS $flag" + LIBTOOLFLAGS="$LIBTOOLFLAGS -Wc,$flag" |