From 33c2f9b88bb7c4477479fa6f553f001b299911ee Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Wed, 8 May 2019 14:58:45 +0200 Subject: [PATCH] move macOS compiler to gcc-9 --- src/ModelTree.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModelTree.cc b/src/ModelTree.cc index 4fc731a9..c9e800d4 100644 --- a/src/ModelTree.cc +++ b/src/ModelTree.cc @@ -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++";