disable frame pointer omission optimization (#2189)
* disable frame pointer omission optimization it breaks the GC * oops
This commit is contained in:
parent
c56677867b
commit
e946db56ea
|
@ -52,6 +52,11 @@ else:
|
||||||
switch("passC", "-mno-avx512f")
|
switch("passC", "-mno-avx512f")
|
||||||
switch("passL", "-mno-avx512f")
|
switch("passL", "-mno-avx512f")
|
||||||
|
|
||||||
|
# omitting frame pointers in nim breaks the GC
|
||||||
|
# https://github.com/nim-lang/Nim/issues/10625
|
||||||
|
switch("passC", "-fno-omit-frame-pointer")
|
||||||
|
switch("passL", "-fno-omit-frame-pointer")
|
||||||
|
|
||||||
--threads:on
|
--threads:on
|
||||||
--opt:speed
|
--opt:speed
|
||||||
--excessiveStackTrace:on
|
--excessiveStackTrace:on
|
||||||
|
|
Loading…
Reference in New Issue