-
- Downloads
Build system: streamline handling of compilation flags for MEX
— allow the user to override compilation flags for MATLAB MEX (it was already working for the preprocessor, the MEX for Octave and Dynare++) — increase the symmetry of MEX build infrastructure between MATLAB and Octave — when linking MEX for Octave, do not add the output of “mkoctfile -p FLIBS”. It is unneeded, and it can create a conflict between the system compiler and a user-supplied compiler By the way: — restore optimization on macOS for C/C++ MEX (it had been removed in 5df2392a) — remove -fno-omit-frame-pointer on MATLAB/Linux, since it would be cancelled by subsequent -O2 and should not be needed anyways — remove FFLAGS under Octave, unused
Showing
- m4/ax_mexopts.m4 11 additions, 11 deletionsm4/ax_mexopts.m4
- m4/ax_slicot.m4 5 additions, 3 deletionsm4/ax_slicot.m4
- mex/build/matlab/configure.ac 6 additions, 4 deletionsmex/build/matlab/configure.ac
- mex/build/matlab/mex.am 3 additions, 0 deletionsmex/build/matlab/mex.am
- mex/build/octave/configure.ac 4 additions, 4 deletionsmex/build/octave/configure.ac
- mex/build/octave/mex.am 3 additions, 5 deletionsmex/build/octave/mex.am
Please register or sign in to comment