From cf910cb64f6e0468de123fe9fdfe4fc6317774b4 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 24 Jul 2014 12:18:18 +0200 Subject: [PATCH] build system: add flag for mex compilation on OS X 10.9 --- mex/build/matlab/configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mex/build/matlab/configure.ac b/mex/build/matlab/configure.ac index f7a668f28..5bc631690 100644 --- a/mex/build/matlab/configure.ac +++ b/mex/build/matlab/configure.ac @@ -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"