mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-04 02:44:44 +00:00
@@ -472,7 +472,6 @@
|
||||
static libraries.
|
||||
|
||||
- When compiling for Release the flag `-fno-math-errno` is used for GCC.
|
||||
- When compiling for Release the flag `--build-id=none` is used for GCC Linker.
|
||||
- Removed deprecated `LineTooLong` hint.
|
||||
|
||||
|
||||
|
||||
@@ -364,10 +364,3 @@ tcc.options.always = "-w"
|
||||
clang.cpp.options.linker %= "${clang.cpp.options.linker} -s"
|
||||
@end
|
||||
|
||||
# Linker: Skip "Build-ID metadata strings" in binaries when build for release.
|
||||
@if release or danger:
|
||||
@if not macosx:
|
||||
gcc.options.linker %= "${gcc.options.linker} -Wl,--build-id=none"
|
||||
gcc.cpp.options.linker %= "${gcc.cpp.options.linker} -Wl,--build-id=none"
|
||||
@end
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user