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-bf33cf982152
time-shift
sebastien 2009-09-17 16:17:11 +00:00
parent d7f8ec9108
commit 7754e416e4
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ AC_REQUIRE([AC_CANONICAL_HOST])
AC_MSG_CHECKING([for options to compile MEX for MATLAB])
MATLAB_CPPFLAGS="-I$MATLAB/extern/include"
MATLAB_CC="gcc"
MATLAB_CXX="g++"
MATLAB_CC="$CC"
MATLAB_CXX="$CXX"
MATLAB_DEFS="-DNO_OPENMP" # Don't use OpenMP (flag used by S. Adjemian in some DLLs)
case ${MATLAB_ARCH} in