Build system: for MEX files, use the same compiler than for the preprocessor and dynare++
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2943 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
d7f8ec9108
commit
7754e416e4
|
@ -25,8 +25,8 @@ AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
AC_MSG_CHECKING([for options to compile MEX for MATLAB])
|
AC_MSG_CHECKING([for options to compile MEX for MATLAB])
|
||||||
|
|
||||||
MATLAB_CPPFLAGS="-I$MATLAB/extern/include"
|
MATLAB_CPPFLAGS="-I$MATLAB/extern/include"
|
||||||
MATLAB_CC="gcc"
|
MATLAB_CC="$CC"
|
||||||
MATLAB_CXX="g++"
|
MATLAB_CXX="$CXX"
|
||||||
MATLAB_DEFS="-DNO_OPENMP" # Don't use OpenMP (flag used by S. Adjemian in some DLLs)
|
MATLAB_DEFS="-DNO_OPENMP" # Don't use OpenMP (flag used by S. Adjemian in some DLLs)
|
||||||
|
|
||||||
case ${MATLAB_ARCH} in
|
case ${MATLAB_ARCH} in
|
||||||
|
|
Loading…
Reference in New Issue