Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e53d07efdb3a7e0fbe6566d3138d6df29e0643c8
https://github.com/WebKit/WebKit/commit/e53d07efdb3a7e0fbe6566d3138d6df29e0643c8
Author: Zak Ridouh <[email protected]>
Date: 2026-04-22 (Wed, 22 Apr 2026)
Changed paths:
M Source/cmake/OptionsMac.cmake
Log Message:
-----------
[CMake] Skip -dead_strip in Debug builds on macOS
https://bugs.webkit.org/show_bug.cgi?id=312609
rdar://175041322
Reviewed by Brandon Stewart.
Source/cmake/OptionsMac.cmake unconditionally passed -Wl,-dead_strip
to the linker, while the Xcode build sets DEAD_CODE_STRIPPING = NO
for Debug (DEAD_CODE_STRIPPING[config=Debug] = NO in the various
Base.xcconfig files). This made CMake Debug builds slower to link
and stripped symbols that are useful while debugging.
Gate the option behind a generator expression so it only applies to
non-Debug configurations, matching Xcode. -dead_strip_dylibs is left
unchanged.
* Source/cmake/OptionsMac.cmake:
Canonical link: https://commits.webkit.org/311794@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications