summaryrefslogtreecommitdiff
path: root/sysutils/xen-tools/files/patch-tools_qemu-xen_configure
blob: 316633041340d7624c6338fd164df9a32822581f (plain) (blame)
1
2
3
4
5
6
7
8
9
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"