NEW312105
[CMake] Fix CMake -Xcc flag deduplication in native Swift target_compile_options
https://bugs.webkit.org/show_bug.cgi?id=312105
Summary [CMake] Fix CMake -Xcc flag deduplication in native Swift target_compile_options
pascoe@apple.com
Reported 2026-04-12 12:31:37 PDT
CMake deduplicates repeated -Xcc flags in target_compile_options, keeping only the first instance. PAL and WebKit Swift compilation needs multiple -Xcc -I<path> pairs for the Clang importer. The custom typecheck command (add_custom_command) is unaffected. Currently non-blocking because -explicit-module-build discovers modules via bare -I paths, but would break if explicit module builds are disabled. Fix requires SHELL: prefix at the CMake option level.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-12 12:35:00 PDT
Note You need to log in before you can comment on or make changes to this bug.