diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-09-22 14:33:33 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-09-22 14:33:33 +0000 |
| commit | 4efda9844b9028c843ee11e3000c9e62307e7371 (patch) | |
| tree | 120f6702fb5d69dd3df4eff0daa816820b4e64dd /librewolf/libcxx18.patch | |
| parent | e780a8dbd567955bb90e3e1376d52f7c1ea21fd8 (diff) | |
| download | alicelinux-4efda9844b9028c843ee11e3000c9e62307e7371.tar.gz alicelinux-4efda9844b9028c843ee11e3000c9e62307e7371.zip | |
Woodpecker CI 00260865a58e692dcab21c7b52218c1c6aaa1703 [SKIP CI]
Diffstat (limited to 'librewolf/libcxx18.patch')
| -rw-r--r-- | librewolf/libcxx18.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/librewolf/libcxx18.patch b/librewolf/libcxx18.patch new file mode 100644 index 00000000..8dc03019 --- /dev/null +++ b/librewolf/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 ++++ b/build/moz.configure/toolchain.configure +@@ -2454,10 +2454,10 @@ set_define("_LIBCPP_ALWAYS_INLINE", libcxx_override_visibility.empty) + 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 in ("Darwin", "FreeBSD", "OpenBSD"): ++ if target.kernel in ("Darwin", "FreeBSD", "OpenBSD") 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), |