"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | > | 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.
then use the configure flag to avoid that (or if we don't have it we can add it) ... and you don't have to use -O2, -O would suffice. -- Lgb