From owner-freebsd-questions@FreeBSD.ORG Wed Mar 19 22:26:25 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8DEC7FF0 for ; Wed, 19 Mar 2014 22:26:25 +0000 (UTC) Received: from tds-solutions.net (tds-solutions.net [69.164.206.65]) by mx1.freebsd.org (Postfix) with ESMTP id 725C5789 for ; Wed, 19 Mar 2014 22:26:25 +0000 (UTC) Received: from [192.168.1.224] (unknown [69.43.65.114]) (Authenticated sender: tyler) by tds-solutions.net (Postfix) with ESMTPSA id 3AB0CA115 for ; Wed, 19 Mar 2014 16:32:15 -0600 (MDT) Message-ID: <532A1A02.8090304@tysdomain.com> Date: Wed, 19 Mar 2014 18:28:18 -0400 From: "Littlefield, Tyler" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: questions@freebsd.org Subject: make.conf: optimization and security Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: tyler@tysdomain.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 22:26:25 -0000 hello all: I had a few questions. It looks like I goofed and went with freebsd 10. I was doing a reinstall and planning on recompiling what I'd already installed for my server. I was reading about linux distros that have the packages compiled with stack protection and etc enabled. I think GCC does this by defaults, but what do people's CFLAGS look like in make.conf generally? Also, I was told to leave a -O2/etc out. Is it usual to include -s to strip (since I don't need debugging)? Finally, I would like to recompile my kernel. Which svn repo should I use for 9.2? Thanks, -- Take care, Ty http://tds-solutions.net He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.