Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
/ libcxx Public archive

Commit

Permalink
Add new flags to hide exported symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
topjohnwu committed Mar 28, 2021
1 parent cca5298 commit f61fcee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ libcxx_export_cxxflags :=

libcxx_cxxflags := \
-std=c++1z \
-fvisibility-global-new-delete-hidden \
-DLIBCXX_BUILDING_LIBCXXABI \
-D_LIBCPP_NO_EXCEPTIONS \
-D_LIBCPP_NO_RTTI \
-D_LIBCPP_BUILDING_LIBRARY \
-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS \
-D__STDC_FORMAT_MACROS \
$(libcxx_export_cxxflags) \

Expand Down

0 comments on commit f61fcee

Please sign in to comment.