From f8f186792138e373b51e6dad0d28f48786ddbb6a Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Thu, 24 Jul 2014 12:18:18 +0200 Subject: [PATCH] build system: add flag for mex compilation on OS X 10.9 (cherry picked from commit cf910cb64f6e0468de123fe9fdfe4fc6317774b4) --- 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 af230f924..b3cad08c5 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" -- GitLab