You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 18, 2019. It is now read-only.
- this is until we fix PR: #2138
- compile also with -fno-ipa-pure-const
- link functions with -lOpenModelicaCompiler if MetaModelica flag is on
Belonging to [master]:
- #2654
Copy file name to clipboardExpand all lines: Compiler/Template/CodegenCFunctions.tpl
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -237,9 +237,12 @@ match fnCode
237
237
case FUNCTIONCODE(makefileParams=MAKEFILE_PARAMS(__)) then
238
238
let libsStr = (makefileParams.libs ;separator=" ")
239
239
let ParModelicaExpLibs = if acceptParModelicaGrammar() then '-lParModelicaExpl -lOpenCL' // else ""
240
+
let ExtraStack = if boolOr(stringEq(makefileParams.platform, "win32"),stringEq(makefileParams.platform, "win64")) then '--stack,16777216,'
241
+
let WinMingwExtraLibs = if boolAnd(acceptMetaModelicaGrammar(), boolOr(stringEq(makefileParams.platform, "win32"),stringEq(makefileParams.platform, "win64"))) then '-lOpenModelicaCompiler'
240
242
241
243
<<
242
244
# Makefile generated by OpenModelica
245
+
# Platform: <%makefileParams.platform%>
243
246
244
247
# Dynamic loading uses -O0 by default
245
248
SIM_OR_DYNLOAD_OPT_LEVEL=-O0
@@ -253,7 +256,7 @@ case FUNCTIONCODE(makefileParams=MAKEFILE_PARAMS(__)) then
0 commit comments