also use "-fno-omit-frame-pointer" on Windows (#584)
now that we no longer use the buggy gcc-8.1.0 in CI
This commit is contained in:
parent
8211db1ea8
commit
295c1409f6
|
@ -34,12 +34,8 @@ else:
|
||||||
|
|
||||||
# omitting frame pointers in nim breaks the GC
|
# omitting frame pointers in nim breaks the GC
|
||||||
# https://github.com/nim-lang/Nim/issues/10625
|
# https://github.com/nim-lang/Nim/issues/10625
|
||||||
if not defined(windows):
|
switch("passC", "-fno-omit-frame-pointer")
|
||||||
# ...except on windows where the option crashes GCC:
|
switch("passL", "-fno-omit-frame-pointer")
|
||||||
# https://sourceforge.net/p/mingw-w64/bugs/880/
|
|
||||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86593
|
|
||||||
switch("passC", "-fno-omit-frame-pointer")
|
|
||||||
switch("passL", "-fno-omit-frame-pointer")
|
|
||||||
|
|
||||||
--threads:on
|
--threads:on
|
||||||
--opt:speed
|
--opt:speed
|
||||||
|
|
Loading…
Reference in New Issue