Line
Link Here
|
0 |
-- a/build/moz.configure/toolchain.configure |
0 |
++ b/build/moz.configure/toolchain.configure |
Lines 2150-2163
set_define("_LIBCPP_HIDE_FROM_ABI", libc
Link Here
|
2150 |
@depends(target, build_environment) |
2150 |
@depends(target, build_environment) |
2151 |
def visibility_flags(target, env): |
2151 |
def visibility_flags(target, env): |
2152 |
if target.os != "WINNT": |
2152 |
if target.os != "WINNT": |
2153 |
if target.kernel == "Darwin": |
2153 |
return ("-fvisibility=hidden", "-fvisibility-inlines-hidden") |
2154 |
return ("-fvisibility=hidden", "-fvisibility-inlines-hidden") |
|
|
2155 |
return ( |
2156 |
"-I%s/system_wrappers" % os.path.join(env.dist), |
2157 |
"-include", |
2158 |
"%s/config/gcc_hidden.h" % env.topsrcdir, |
2159 |
) |
2160 |
|
2161 |
|
2154 |
|
2162 |
@depends(target, visibility_flags) |
2155 |
@depends(target, visibility_flags) |
2163 |
def wrap_system_includes(target, visibility_flags): |
2156 |
def wrap_system_includes(target, visibility_flags): |