fcron optimization

Mark Hymers markh at linuxfromscratch.org
Sat Apr 20 15:16:22 PDT 2002

On Wed, 10, Apr, 2002 at 08:18:27AM -0500, Larry Lawrence spoke thus..
> Ron Peters wrote:
> > So it seems that the -O2 will override my CFLAGS. The -O2 comes from the
> > OPTIM variable in the generated Makefile. (OPTIM = -O2 -Wall)
> > 
> > I think that make "OPTIM=$CFLAGS -Wall" would be better. It gives me
> > output like this:
> > 
> > gcc -O3 -march=i686 -Wall  -DHAVE_CONFIG_H  -I. -I. -o fcron fcron.o
> > subs.o save.o temp_file.o log.o database.o job.o conf.o socket.o  -lutil
> > -lcrypt
> > 
> I don't know if BLFS can (should) go this far, but that is not up to me.  
> What if the package author had determined that optimizations past -O2 were 
> detrimental, therefore he intentionally wrote it that his -O2 takes 
> precedence. CFLAGS gives us a vehicle to get your optimizations into the 
> equation, but not a guarantee that the package author won't override.
Yep.  I think I agree with Larry here.  What does everyone else think?


Mark Hymers                                    BLFS Editor
markh at linuxfromscratch.org
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message

More information about the blfs-dev mailing list