mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-04 00:05:22 +00:00
Windows: support more Mingw-w64 versions
This reverts commit 295c1409f618f253dd9d1046cd61ddb44c40f7e6.
This commit is contained in:
parent
91e24e3581
commit
82f99dc3c0
11
config.nims
11
config.nims
@ -33,10 +33,15 @@ 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
|
# Omitting frame pointers in nim breaks the GC:
|
||||||
# https://github.com/nim-lang/Nim/issues/10625
|
# https://github.com/nim-lang/Nim/issues/10625
|
||||||
switch("passC", "-fno-omit-frame-pointer")
|
if not defined(windows):
|
||||||
switch("passL", "-fno-omit-frame-pointer")
|
# ...except on Windows where the Nim bug doesn't manifest and the option
|
||||||
|
# crashes GCC in some Mingw-w64 versions:
|
||||||
|
# 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…
x
Reference in New Issue
Block a user