diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
| commit | 93a354611e38a6949add5c2e5ccc93ef79b9755f (patch) | |
| tree | 7fee41752b1047d74c59f8ee046cd62735e7e934 /firefox/visibility.patch | |
| parent | 35912580b66e9439f91ea441938828ad8aa33b0d (diff) | |
| download | alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip | |
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'firefox/visibility.patch')
| -rw-r--r-- | firefox/visibility.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/firefox/visibility.patch b/firefox/visibility.patch new file mode 100644 index 00000000..5084ae90 --- /dev/null +++ b/firefox/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), |