Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 20:02:16 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r401204 - head/sysutils/xen-tools/files
Message-ID:  <201511102002.tAAK2G2a077916@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511102002.tAAK2G2a077916>