From owner-freebsd-ports@FreeBSD.ORG Tue Sep 7 19:34:11 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C81110656DE; Tue, 7 Sep 2010 19:34:11 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out8.libero.it (cp-out8.libero.it [212.52.84.108]) by mx1.freebsd.org (Postfix) with ESMTP id D5A1D8FC20; Tue, 7 Sep 2010 19:34:10 +0000 (UTC) Received: from soth.ventu (151.51.63.247) by cp-out8.libero.it (8.5.107) id 4C80E54D008E578D; Tue, 7 Sep 2010 21:34:09 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.3) with ESMTP id o87JXuNw027250; Tue, 7 Sep 2010 21:33:56 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <4C8693A7.9080608@netfence.it> Date: Tue, 07 Sep 2010 21:33:59 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.1.11) Gecko/20100805 Thunderbird/3.0.6 MIME-Version: 1.0 To: Anonymous References: <4C85EAF3.1090205@netfence.it> <867hiy2bg0.fsf@gmail.com> In-Reply-To: <867hiy2bg0.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.1.2.13 Cc: garga@freebsd.org, freebsd-ports@freebsd.org Subject: Re: LUA fails upgrade on 7.2/amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 19:34:11 -0000 Il 09/07/10 10:40, Anonymous ha scritto: > It's expected becasue you're overriding -fPIC in port's Makefile from > your make.conf (CFLAGS=...). If you still want to *reduce* optimization > then append CFLAGS by using `+=' instead of `='. Thanks, this was the problem. So, I've had the following in /etc/make.conf since eons: CFLAGS=-O -pipe COPTFLAGS=-O -pipe Genrally speaking (meaning for any port), is this still useful? Are the above flags deprecated? Will I get optimized code without them? bye & Thanks av.