Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2013 04:21:06 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322154 - head/devel/libvirt
Message-ID:  <201307020421.r624L6Jl085691@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Tue Jul  2 04:21:05 2013
New Revision: 322154
URL: http://svnweb.freebsd.org/changeset/ports/322154

Log:
  - -fstack-protector is in CFLAGS, but not in LDFLAGS.  The compiler run
  inserts references to __stack_chk* symbols, but the linker run later
  does not resolve them.
  
  add -fstack-protector to LDFLAGS
  bump portrevision
  
  Submitted by:	mandree@ and others

Modified:
  head/devel/libvirt/Makefile

Modified: head/devel/libvirt/Makefile
==============================================================================
--- head/devel/libvirt/Makefile	Tue Jul  2 02:16:57 2013	(r322153)
+++ head/devel/libvirt/Makefile	Tue Jul  2 04:21:05 2013	(r322154)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libvirt
 PORTVERSION=	1.0.6
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://libvirt.org/sources/ \
 		ftp://libvirt.org/libvirt/
@@ -37,7 +38,7 @@ CONFIGURE_ARGS=	--without-sasl \
 #limit to non-stable release x.x.x
 PORTSCOUT=	limit:\d+\.\d+\.\d+$$
 
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -fstack-protector
 
 USES=		charsetfix pathfix
 USE_GMAKE=	yes



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