Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 928729 | Differences between
and this patch

Collapse All | Expand All

(-)a/build/moz.configure/toolchain.configure (-3 / +3 lines)
Lines 2157-2166 Link Here
2157
set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi)
2157
set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi)
2158
2158
2159
2159
2160
@depends(target, build_environment)
2160
@depends(target, build_environment, c_compiler)
2161
def visibility_flags(target, env):
2161
def visibility_flags(target, env, c_compiler):
2162
    if target.os != "WINNT":
2162
    if target.os != "WINNT":
2163
        if target.kernel == "Darwin":
2163
        if target.kernel == "Darwin" or (c_compiler.type == "clang" and c_compiler.version >= "17.0.0"):
2164
            return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
2164
            return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
2165
        return (
2165
        return (
2166
            "-I%s/system_wrappers" % os.path.join(env.dist),
2166
            "-I%s/system_wrappers" % os.path.join(env.dist),

Return to bug 928729