[macOS] Set default symbol visibility to hidden.
This commit is contained in:
parent
f20ef37ccb
commit
55abbc4244
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ def configure(env: "SConsEnvironment"):
|
|||
env.Append(LINKFLAGS=["-arch", "x86_64", "-mmacosx-version-min=10.13"])
|
||||
|
||||
env.Append(CCFLAGS=["-ffp-contract=off"])
|
||||
env.Append(CCFLAGS=["-fobjc-arc"])
|
||||
env.Append(CCFLAGS=["-fobjc-arc", "-fvisibility=hidden"])
|
||||
|
||||
cc_version = get_compiler_version(env)
|
||||
cc_version_major = cc_version["apple_major"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue