This commit is contained in:
ringabout
2023-05-22 12:53:50 +08:00
committed by GitHub
parent 9c2d2773ec
commit b14043c39e
2 changed files with 0 additions and 8 deletions

View File

@@ -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.

View File

@@ -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