On Sun, Oct 20, 2002 at 12:59:34PM +0200, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | On Sun, Oct 20, 2002 at 05:11:26AM +0100, John Levon wrote: > | > On Sat, Oct 19, 2002 at 09:08:47PM -0700, Kayvan A. Sylvan wrote: > | > > | > > The template-depth patch... > | > > | > Why do we need this in addition to the stuff we have in config/ ? > | > > | > john > | > -- > | > "It's a cardboard universe ... and if you lean too hard against it, you fall > | > through." > | > - Philip K. Dick > | > | The RPM compile (using "make rpmdist") sets CFLAGS and CXXFLAGS to -O2, > | without the -ftemplate-depth-xx flag. > | > | So... "make rpmdist" fails with the template-depth error. > > But why should the rpm build set it to anyting else than ./configure > does? Really? > > -- > Lgb
You need to set the CFLAGS and CXXFLAGS to use -O2 instead of -g, otherwise you will have a 93MB lyx executable. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)