discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-specific optimization options?


From: Stephen Brandon
Subject: Re: file-specific optimization options?
Date: Tue, 06 Nov 2001 15:41:53 +0000

Aha!

Thanks so much Nicola and Adam -- that's exactly what I'm
after. You guys are incredible!

Cheers,
Stephen

On Tue, 06 Nov 2001 08:33:10 -0700
 Adam Fedor <fedor@doc.com> wrote:
> Nicola Pero wrote:
> 
> > 
> > (ii): gnustep-make does not support file-specific CC
> options ... hmmm ...
> 
> Actually, gnustep-base has a similar hack in
> Source/Makefile.postamble, 
> just set up a specific rule for compiling that file:
> 
> #
> #       Files where optimisation breaks the code!
> #       These have to filter the optimisation flag out.
> #
> $(GNUSTEP_OBJ_DIR)/mframe.o : mframe.m
>          $(CC) -c $(filter-out -O%, $(ALL_CPPFLAGS)
> $(ALL_OBJCFLAGS)) -o 
> $@ $<
> $(GNUSTEP_OBJ_DIR)/NSConnection.o : NSConnection.m
>          $(CC) -c $(filter-out -O%, $(ALL_CPPFLAGS)
> $(ALL_OBJCFLAGS)) -o 
> $@ $<
> $(GNUSTEP_OBJ_DIR)/NSInvocation.o : NSInvocation.m
>          $(CC) -c $(filter-out -O%, $(ALL_CPPFLAGS)
> $(ALL_OBJCFLAGS)) -o 
> $@ $<
>
> -- 
> Adam Fedor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]