From e315e73577ce6d45f1ed8b95e38f7e3e1b9e3179 Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 20 Jun 2008 16:33:06 +0000 Subject: [PATCH] v4 mex: added compilation flag for Linux 64 bits git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1889 ac1d8469-bf42-47a9-8791-bf33cf982152 --- mex/sources/build.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mex/sources/build.m b/mex/sources/build.m index 6ae70bbec..7d4bd6aaa 100644 --- a/mex/sources/build.m +++ b/mex/sources/build.m @@ -19,7 +19,7 @@ if strcmpi('GLNX86', computer) || strcmpi('GLNXA64', computer) ... || strcmpi('MACI', computer) || strcmpi('MAC', computer) % GNU/Linux (x86-32 or x86-64) or MacOS (Intel or PPC) if strcmpi('GLNXA64', computer) % 64 bits ? - COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -largeArrayDims' ]; + COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -largeArrayDims -DMX_COMPAT_32' ]; end LAPACK_PATH = '-lmwlapack'; if VERSION <= 7.4