move macOS compiler to gcc-9

issue#70
Houtan Bastani 2019-05-08 14:58:45 +02:00
parent 358c3d6716
commit 33c2f9b88b
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 1 additions and 1 deletions

View File

@ -2265,7 +2265,7 @@ ModelTree::compileDll(const string &basename, const string &static_or_dynamic, c
else
{
// macOS
compiler = "/usr/local/bin/gcc-7";
compiler = "/usr/local/bin/gcc-9";
string archs = (mexext == "maci" ? "i386" : "x86_64");
flags << " -fno-common -arch " << archs << " -mmacosx-version-min=10.7 -Wl,-twolevel_namespace -undefined error -bundle";
libs += " -lm -lstdc++";