diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-11-10 20:02:16 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-11-10 20:02:16 +0000 |
commit | 2a93f197e3ba42bce3b112af8c20c3267ec27b91 (patch) | |
tree | 51b49cc68ff080e4dad6ec7dc55483d91497adc1 /sysutils/xen-tools/files | |
parent | databases/tcl-sqlite3: update 3.9.1 -> 3.9.2 (diff) |
Fix build on FreeBSD 10, lang/gcc now supports -fstack-protector-strong
but c++(1) from base doesn't
Notes
Notes:
svn path=/head/; revision=401204
Diffstat (limited to 'sysutils/xen-tools/files')
-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" |