From 295c1409f618f253dd9d1046cd61ddb44c40f7e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Wed, 14 Apr 2021 15:03:13 +0200 Subject: [PATCH] also use "-fno-omit-frame-pointer" on Windows (#584) now that we no longer use the buggy gcc-8.1.0 in CI --- config.nims | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/config.nims b/config.nims index 966db422d..08af4eb92 100644 --- a/config.nims +++ b/config.nims @@ -34,12 +34,8 @@ else: # omitting frame pointers in nim breaks the GC # https://github.com/nim-lang/Nim/issues/10625 -if not defined(windows): - # ...except on windows where the option crashes GCC: - # 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") +switch("passC", "-fno-omit-frame-pointer") +switch("passL", "-fno-omit-frame-pointer") --threads:on --opt:speed