Commit 8b81474a authored by Stéphane Adjemian's avatar Stéphane Adjemian

On macOS use gcc-7 from homebrew instead of gcc-clang.

To install this version of gcc:

~$ brew install gcc@7

Does not seem to work with gcc-8 (missing headers…).
parent ea76bc86
Pipeline #510 passed with stage
in 1 minute and 42 seconds
......@@ -2236,6 +2236,7 @@ ModelTree::compileDll(const string &basename, const string &static_or_dynamic, c
else
{
// macOS
compiler = "/usr/local/bin/gcc-7";
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++";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment