From owner-freebsd-arch@FreeBSD.ORG Mon May 5 21:13:18 2008 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A8451065672; Mon, 5 May 2008 21:13:18 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id D3B068FC15; Mon, 5 May 2008 21:13:17 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 450253F6389; Mon, 5 May 2008 23:13:16 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 2D9223F6383; Mon, 5 May 2008 23:13:16 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 46F3E9F2A7; Mon, 5 May 2008 21:10:51 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 3A5BF4089; Mon, 5 May 2008 23:10:51 +0200 (CEST) Date: Mon, 5 May 2008 23:10:51 +0200 From: Jeremie Le Hen To: obrien@freebsd.org Message-ID: <20080505211051.GC32317@obiwan.tataz.chchile.org> References: <20080427012416.GA9817@dragon.NUXI.org> <20080502070147.GE74500@obiwan.tataz.chchile.org> <20080504040110.GC94985@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080504040110.GC94985@dragon.NUXI.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-arch@FreeBSD.org Subject: Re: Integration of ProPolice in FreeBSD X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2008 21:13:18 -0000 On Sat, May 03, 2008 at 09:01:10PM -0700, David O'Brien wrote: > On Fri, May 02, 2008 at 09:01:47AM +0200, Jeremie Le Hen wrote: > > Index: sys/conf/kern.pre.mk > > =================================================================== > > RCS file: /mnt/octobre/space/freebsd-cvs/src/sys/conf/kern.pre.mk,v > > retrieving revision 1.97 > > diff -u -p -r1.97 kern.pre.mk > > --- sys/conf/kern.pre.mk 2 Feb 2008 19:55:28 -0000 1.97 > > +++ sys/conf/kern.pre.mk 29 Mar 2008 14:06:45 -0000 > > @@ -3,10 +3,7 @@ > > # Part of a unified Makefile for building kernels. This part contains all > > # of the definitions that need to be before %BEFORE_DEPEND. > > > > -SRCCONF?= /etc/src.conf > > -.if exists(${SRCCONF}) > > -.include "${SRCCONF}" > > -.endif > > +.include > > I may not be seeing it - why do you need this change? It is needed so I can use MK_SSP later in kern.mk: =================================================================== RCS file: /mnt/octobre/space/freebsd-cvs/src/sys/conf/kern.mk,v retrieving revision 1.52 diff -u -p -r1.52 kern.mk --- sys/conf/kern.mk 24 May 2007 21:53:42 -0000 1.52 +++ sys/conf/kern.mk 29 Mar 2008 13:44:15 -0000 @@ -97,3 +97,10 @@ CFLAGS+= -ffreestanding .if ${CC} == "icc" CFLAGS+= -restrict .endif + +# +# GCC SSP support. +# +.if ${MK_SSP} != "no" && ${CC} != "icc" +CFLAGS+= -fstack-protector +.endif Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >