mkoctfile and compiler options
wim van hoydonck
wim.van.hoydonck at gmail.com
Wed Sep 3 09:13:09 CDT 2008
On 9/3/08, john.2.tomlinson at bt.com <john.2.tomlinson at bt.com> wrote:
>
>
>
> All
>
> Is there anyway I can stop mkoctfile from using the -O2 optimiser flag?
>
> I have tried re-building octave without the flag set in the CFLAGS
> environment variable. I have tried setting CFLAGS. Still mkoctfile insists
> on inserting the -O2 flag
You could edit mkoctfile and remove the -O2 from the FFLAGS, CXXFLAGS
AND CFLAGS variables there, as that is a shell script.
But I do not know if that is the preferred or best way.
regards,
Wim
More information about the Help-octave
mailing list