diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-05-12 16:03:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 10:03:41 +0200 |
commit | c6e2dc191995bada24f26acc99bf4653d0d665bd (patch) | |
tree | 1e40e76f93e9e17195c87cd4cf95ef7075d0814b /config | |
parent | ea39c600abcb8853791404145c3038ea9488d0f4 (diff) | |
download | Nim-c6e2dc191995bada24f26acc99bf4653d0d665bd.tar.gz |
fixes nightlies regressions; disable `build-id=none` on macos (#21839)
* fixes nightlies regressions; disable `build-id=none` on macos * fixes typos
Diffstat (limited to 'config')
-rw-r--r-- | config/nim.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index 656885e0c..6af5b0fd7 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -366,6 +366,8 @@ tcc.options.always = "-w" # Linker: Skip "Build-ID metadata strings" in binaries when build for release. @if release or danger: - gcc.options.linker %= "${gcc.options.linker} -Wl,--build-id=none" - gcc.cpp.options.linker %= "${gcc.cpp.options.linker} -Wl,--build-id=none" + @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 |