diff options
| author | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-03-12 04:01:18 +0100 |
|---|---|---|
| committer | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-03-12 04:01:18 +0100 |
| commit | ddd8e1a8fab2ac39396282a7c09ddf6eca219613 (patch) | |
| tree | 12796519575126d60e06d02e9eab68856229cf58 /repos/clang/firefox/libcxx18.patch | |
| parent | b5a8a6c29e40f786ceb808c0b95f01c4251111d1 (diff) | |
| download | alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.tar.gz alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.zip | |
clang repos updated
Diffstat (limited to 'repos/clang/firefox/libcxx18.patch')
| -rw-r--r-- | repos/clang/firefox/libcxx18.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/repos/clang/firefox/libcxx18.patch b/repos/clang/firefox/libcxx18.patch new file mode 100644 index 00000000..96994d14 --- /dev/null +++ b/repos/clang/firefox/libcxx18.patch @@ -0,0 +1,18 @@ +Patch-Source: https://dev.gentoo.org/~juippis/mozilla/patchsets/firefox-124-patches-04.tar.xz
+--
+--- a/build/moz.configure/toolchain.configure 2024-03-16 22:53:15.409390707 +0000
++++ b/build/moz.configure/toolchain.configure 2024-03-16 22:57:02.661805132 +0000
+@@ -2282,10 +2282,10 @@ + set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi) + + +-@depends(target, build_environment) +-def visibility_flags(target, env): ++@depends(target, build_environment, c_compiler) ++def visibility_flags(target, env, c_compiler): + if target.os != "WINNT": +- if target.kernel == "Darwin": ++ if target.kernel == "Darwin" or (c_compiler.type == "clang" and c_compiler.version >= "17.0.0"): + return ("-fvisibility=hidden", "-fvisibility-inlines-hidden") + return ( + "-I%s/system_wrappers" % os.path.join(env.dist), |