svn commit: r401204 - head/sysutils/xen-tools/files
Antoine Brodin
antoine at FreeBSD.org
Tue Nov 10 20:02:18 UTC 2015
Author: antoine
Date: Tue Nov 10 20:02:16 2015
New Revision: 401204
URL: https://svnweb.freebsd.org/changeset/ports/401204
Log:
Fix build on FreeBSD 10, lang/gcc now supports -fstack-protector-strong
but c++(1) from base doesn't
Added:
head/sysutils/xen-tools/files/patch-tools_qemu-xen_configure (contents, props changed)
Added: head/sysutils/xen-tools/files/patch-tools_qemu-xen_configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/xen-tools/files/patch-tools_qemu-xen_configure Tue Nov 10 20:02:16 2015 (r401204)
@@ -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"
More information about the svn-ports-all
mailing list