-----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 (pgollu...@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-----
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to