macOS/use_dll: no longer pass -arch x86_64, in preparation for ARM support

issue#70
Sébastien Villemot 2021-01-12 17:33:53 +01:00
parent 7a8446e836
commit c91178e3e3
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright © 2003-2020 Dynare Team
* Copyright © 2003-2021 Dynare Team
*
* This file is part of Dynare.
*
@ -2050,7 +2050,7 @@ ModelTree::compileMEX(const string &basename, const string &funcname, const stri
exit(EXIT_FAILURE);
}
#endif
flags << " -fno-common -arch x86_64 -mmacosx-version-min=10.9 -Wl,-twolevel_namespace -undefined error -bundle";
flags << " -fno-common -mmacosx-version-min=10.9 -Wl,-twolevel_namespace -undefined error -bundle";
libs += " -lm -lstdc++";
}
}