How to specify regxpcom build flags?

2002-03-12 Thread Steve Snyder

Hello.

I would very much like to add the -fomit-frame-pointer compiler switch to 
my Mozilla build (GNU compiler, Linux client) but cannot because it breaks 
the regxpcom program.  The program segfaults when run if it was built 
with this compiler switch.  So how can I specify the compiler switches used 
to build this program only?

I've looked in  ~/xpcom/tools/registry/ and see a couple makefiles.  As 
none of them actually specify the regxpcom build, I assume that the build 
params are implicit in another makefile.

So how can I specific compiler switches for recxpcom that differ from the 
overall build of Mozilla?

Thanks.





Re: How to specify regxpcom build flags?

2002-03-12 Thread Christian Biesinger

Steve Snyder wrote:
 I would very much like to add the -fomit-frame-pointer compiler switch to 
 my Mozilla build

No you wouldn't. Mozilla won't work. It's not just regxpcom that would 
segfaults when you use that switch.


-- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
  -- Benjamin Franklin