diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2023-07-07 07:39:59 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-07 12:39:59 +0200 |
commit | 54d7c9fdf8ab8690f8f2f97e31a1ec226175cca3 (patch) | |
tree | 053abf178cb3817667e9dc1b7bf2cfb27b2c9256 | |
parent | 2e987cb75a02be74b53150774316036f0befba88 (diff) | |
download | Nim-54d7c9fdf8ab8690f8f2f97e31a1ec226175cca3.tar.gz |
Fix #21595 (#22233)
* . * Fix #21595
-rw-r--r-- | config/nim.cfg | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index a9dba347a..efb058121 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -354,7 +354,7 @@ tcc.options.always = "-w" icl.cpp.options.always %= "${icl.cpp.options.always} /Qipo" gcc.options.always %= "${gcc.options.always} -flto=auto" gcc.cpp.options.always %= "${gcc.cpp.options.always} -flto=auto" - gcc.options.linker %= "${gcc.options.linker} -flto=auto" + gcc.options.linker %= "${gcc.options.linker} -flto=auto -Wno-stringop-overflow" # https://github.com/nim-lang/Nim/issues/21595 gcc.cpp.options.linker %= "${gcc.cpp.options.linker} -flto=auto" @end @if strip: @@ -363,4 +363,3 @@ tcc.options.always = "-w" clang.options.linker %= "${clang.options.linker} -s" clang.cpp.options.linker %= "${clang.cpp.options.linker} -s" @end - |