>>>>> "R" == R Lahaye <[EMAIL PROTECTED]> writes:

R> Jean-Marc Lasgouttes wrote:
>>  >>>>> "R" == R Lahaye <[EMAIL PROTECTED]> writes:
>> 
R> For some reason the C compiler flags always are -O2, irrespective
R> of the value given to the configure script; is that correct?
>>  It is not really correct, but we've been lazy :) Anyway there is
>> not a lot of C code to compile...

R> It's better to be correct, if the fix is easy; is it easy to fix?

WHat happens is that we have our own LYX_PROG_CXX which does a lot of
things for c++ compiler detection and setting (including this
optimization thing), but we use the standard AC_PROG_C for the C
compiler. Considering that not all combinations of -g and -Ox are
possible on some compilers, I do not feel like doing it... However, I
would accept a well done patch.

JMarc

Reply via email to