Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
preprocessor
Commits
33c2f9b8
Verified
Commit
33c2f9b8
authored
May 08, 2019
by
Houtan Bastani
Browse files
move macOS compiler to gcc-9
parent
358c3d67
Pipeline
#1209
passed with stage
in 1 minute and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/ModelTree.cc
View file @
33c2f9b8
...
...
@@ -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++"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment