On Jul 8, 2004, at 12:16 PM, Marco Comini wrote:

I'd like fink run compilers on my G5 with the '-fast' option instead of the '-g -O2' which goes by default. That would help (for instance) to produce a slightly faster ffmpeg executable and, in any case, to take advantage of having a G5 processor.

I've set CFLAGS to "-fast" but nevertheless when fink compiles it uses "-g -O2"!
If instead I keep the sources and go on running manually configure and make, then it does compile with -fast. That puzzles me!


Can someone tell me how to do it (correctly, cleanly)?

On Jul 8, 2004, at 3:16 PM, Sebastian Flothow wrote:

Am 8. Jul 2004 um 13:59 Uhr schrieb Alexander K. Hansen:
Fink is explicitly set up to generate identical binaries regardless of what system it's run on.

Why? Can I change this?
I won't ever run the binaries on any other machine, so they could be optimized ruthlessly.

One way it to put in /sw/lib/per5/Fink a patch that removes the line
delete $ENV{$varname};
from PkgVersion.pm
I won't tell you more details _ if you're not comfortable doing this you're
also better off not experimenting with it ; in fact, for this reason I shouldn't
even give the hint.


But REMEMBER, if you're ever doing anything like this, you're competely
on your own : don't ever complain on a list or to a maintainer about any
non-functioning package !!!!
And there will be a bunch of them !!!

JF Mertens



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to