Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2010 19:36:55 +0000
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        Anonymous <swell.k@gmail.com>, freebsd-ports@freebsd.org, garga@freebsd.org
Subject:   Re: LUA fails upgrade on 7.2/amd64
Message-ID:  <4C869457.3060806@p6m7g8.com>
In-Reply-To: <4C8693A7.9080608@netfence.it>
References:  <4C85EAF3.1090205@netfence.it> <867hiy2bg0.fsf@gmail.com> <4C8693A7.9080608@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/07/10 19:33, Andrea Venturoli wrote:
> 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?

$ make -V CFLAGS -V COPTFLAGS
- -O2 -pipe
- -O2 -pipe

are the defaults for 'eons' now for both /usr/src userland and kernel
and ports.


- -- 
- ------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMhpRXdbiP+9ubjBwRAuamAJ95iWViYnMD+ujHsWptsiTCKgTUVgCfX260
eLJxd7dgEXQo1uiVeYKZ0BA=
=loY7
-----END PGP SIGNATURE-----



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