File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ if test "x$HAVE_MSWINDOWS" = "xyes" ; then
151151 EXPORT="__declspec(dllexport)"
152152elif test "x$GCC" = "xyes" ; then
153153 CFLAGS="$CFLAGS -fvisibility=hidden"
154- CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
154+ CXXFLAGS="$CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden "
155155 EXPORT="__attribute__((visibility(\"default\")))"
156156else
157157 AC_MSG_ERROR ( [ Unknown syntax for EXPORT keyword] )
Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ if cc.get_id() in ['gcc', 'clang']
9595
9696 cxx_flags = [
9797 ' -Wno-non-virtual-dtor' ,
98- ' -Woverloaded-virtual'
98+ ' -Woverloaded-virtual' ,
99+ ' -fvisibility-inlines-hidden'
99100 ]
100101
101102 check_cflags = common_flags
You can’t perform that action at this time.
0 commit comments