We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b699bc commit 7c5d005Copy full SHA for 7c5d005
compiler/extccomp.nim
@@ -474,6 +474,11 @@ proc noAbsolutePaths(conf: ConfigRef): bool {.inline.} =
474
proc cFileSpecificOptions(conf: ConfigRef; nimname, fullNimFile: string): string =
475
result = conf.compileOptions
476
477
+ if (conf.cCompiler == ccGcc or conf.cCompiler == ccCLang) and
478
+ conf.selectedGC == gcRefc:
479
+ # bug #10625
480
+ addOpt(result, "-fno-omit-frame-pointer")
481
+
482
for option in conf.compileOptionsCmd:
483
if strutils.find(result, option, 0) < 0:
484
addOpt(result, option)
0 commit comments