Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2010 21:33:59 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        Anonymous <swell.k@gmail.com>
Cc:        garga@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: LUA fails upgrade on 7.2/amd64
Message-ID:  <4C8693A7.9080608@netfence.it>
In-Reply-To: <867hiy2bg0.fsf@gmail.com>
References:  <4C85EAF3.1090205@netfence.it> <867hiy2bg0.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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