Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions tools/v8_gypfiles/abseil.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,19 @@
'<(ABSEIL_ROOT)/absl/time/internal/cctz/src/time_zone_name_win.cc',
],
}],
['OS=="mac"', {
'xcode_settings': {
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES' # -fvisibility-inlines-hidden
},
}, '(OS!="aix" and OS!="os400") and (OS!="win" or clang==1)', {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}, '(OS!="aix" and OS!="os400") and (OS!="win" or clang==1)', {
}, 'OS!="aix" and OS!="os400" and (OS!="win" or clang==1)', {

'cflags': [
'-fvisibility=hidden',
],
'cflags_cc': [
'-fvisibility-inlines-hidden'
],
}], # MSVC hides the non-public symbols by default so no need to configure it.
],
}, # abseil
]
Expand Down
Loading