diff options
Diffstat (limited to 'chromium/patches/noclanglibs.patch')
| -rw-r--r-- | chromium/patches/noclanglibs.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/patches/noclanglibs.patch b/chromium/patches/noclanglibs.patch new file mode 100644 index 0000000..4542171 --- /dev/null +++ b/chromium/patches/noclanglibs.patch | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | q66 doesn't want to pass clang_version for clanglib path since it's only used to | ||
| 2 | link the libclang_rt.builtins.a. but those are linked by default already so skip | ||
| 3 | it instead of computing the version | ||
| 4 | -- | ||
| 5 | --- a/build/config/clang/BUILD.gn | ||
| 6 | +++ b/build/config/clang/BUILD.gn | ||
| 7 | @@ -101,7 +101,7 @@ | ||
| 8 | } | ||
| 9 | |||
| 10 | template("clang_lib") { | ||
| 11 | - if (!defined(invoker.libname) || is_wasm) { | ||
| 12 | + if (true) { | ||
| 13 | not_needed(invoker, "*") | ||
| 14 | config(target_name) { | ||
| 15 | } | ||