Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

>>>>>> "Lars" == Lars Gullik Bj�nnes <[EMAIL PROTECTED]> writes:
>
| Lars> | CXXFLAGS='-O3 -march=pentium4m' CFLAGS='-O3 -march=pentium4m'
>
| Lars> so if you change the default you are on your own. I have no idea
| Lars> what you have stumbled into: compiler bug, boost bug, linker
| Lars> bug, lyx bug...
>
| Lars> If you can show that this is a lyx bug, we will surely fix it.
>
| I think it might be a LyX bug. The problem is that we add some magic
| to CXXFLAGS in configure. For gcc 3.4.x, I see -fno-exceptions. Can it
| cause linking problems later?

No... we have used -fno-exceptions forever.

| In general, we should not add `important' flags to CXXFLAGS (like the
| template-depth for older versions), since people expect to be able to
| override this value.

Without this we are not able to compile at all...

if they override CXXFLAGS then it is their obligation to provide the
flags lyx needs as well.

| I do not know what variable would be more suitable, though.

We could of course have a special LYX_CXXFLAGS and add that to
AM_CXXFLAGS in common.am.

-- 
        Lgb

Reply via email to