diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-10 07:26:30 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-10 07:26:30 +0800 |
| commit | a64930636462bf24118ca7266f699ce2b696e821 (patch) | |
| tree | 58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/extra/librewolf/visibility.patch | |
| parent | ddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff) | |
| download | alicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip | |
clang branch updated
Diffstat (limited to 'repos/extra/librewolf/visibility.patch')
| -rw-r--r-- | repos/extra/librewolf/visibility.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/repos/extra/librewolf/visibility.patch b/repos/extra/librewolf/visibility.patch new file mode 100644 index 00000000..5084ae90 --- /dev/null +++ b/repos/extra/librewolf/visibility.patch @@ -0,0 +1,13 @@ +--- a/build/moz.configure/toolchain.configure ++++ b/build/moz.configure/toolchain.configure +@@ -2186,7 +2186,7 @@ +-@depends(target, build_environment) ++@depends(target, c_compiler, build_environment) +-def visibility_flags(target, env): ++def visibility_flags(target, c_compiler, env): + if target.os != "WINNT": +- if target.kernel == "Darwin": ++ if target.kernel == "Darwin" or c_compiler.type == "clang": + return ("-fvisibility=hidden", "-fvisibility-inlines-hidden") + return ( + "-I%s/system_wrappers" % os.path.join(env.dist), |