Fix compilation flags in the build system
Compilation flags (CFLAGS
and CXXFLAGS
) specified with the configure
script are not passed correctly when building the mex files (the preprocessor and dynare++ honour the flags). So the mex files are always compiled with debug symbols and it is not possible to use more aggressive optimizations (ie -O3
).