From owner-freebsd-questions@FreeBSD.ORG Wed Nov 9 16:14:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 740EF1065670 for ; Wed, 9 Nov 2011 16:14:26 +0000 (UTC) (envelope-from vkushnir@bigmir.net) Received: from ex.volia.net (ex.volia.net [82.144.192.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2F1AF8FC14 for ; Wed, 9 Nov 2011 16:14:25 +0000 (UTC) Received: from em.volia.net ([82.144.192.9]) by ex.volia.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1ROA7N-0002Fk-JM for freebsd-questions@freebsd.org; Wed, 09 Nov 2011 17:31:13 +0200 Received: from enough.saddler.volia.net ([93.72.207.82] helo=kushnir1.kiev.ua) by em.volia.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1ROA7N-000Mmx-Dc for freebsd-questions@freebsd.org; Wed, 09 Nov 2011 17:31:13 +0200 Received: from localhost (localhost [IPv6:::1]) by kushnir1.kiev.ua (8.14.5/8.14.5) with ESMTP id pA9FVKb9037430 for ; Wed, 9 Nov 2011 17:31:20 +0200 (EET) (envelope-from vkushnir@bigmir.net) Date: Wed, 9 Nov 2011 17:31:20 +0200 (EET) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Volia-Original-IP: 93.72.207.82 Subject: Custom compiler/{C,CXX,F}FLAGS and /etc/make.conf - how to? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 16:14:26 -0000 Dear ALL, The subject says it all. I'm trying to push out of my box every ounce of performance, perhaps even with (yet experimental) path64 compiler. So my question is as simple as that: what is the precise spell to put in make.comf to get (while not disrupting the ports infrastructure!) -march=amdfam10 if compiler is lang/gcc46 and -march=barcelona for path64 (perhaps yet another flags as well if toolchain supports them)? TIA, Vladimir