build system: add flag for mex compilation on OS X 10.9

time-shift
Houtan Bastani 2014-07-24 12:18:18 +02:00
parent 574ec94772
commit cf910cb64f
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ case ${host_os} in
AC_MSG_WARN([not run from MATLAB, because it cannot load the Cygwin DLL.])
AC_MSG_WARN([This is probably not what you want. Consider using a MinGW cross-compiler.])
;;
*darwin13*)
CXXFLAGS="$CXXFLAGS -std=c++11"
;;
esac
CFLAGS="$CFLAGS -Wall -Wno-parentheses"