WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
312105
[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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-12 12:35:00 PDT
<
rdar://problem/174612505
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug