[libcxx-commits] [PATCH] D129271: [libcxx] Make LIBCXX_HERMETIC_STATIC_LIBRARY apply to libc++experimental too
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 7 08:01:32 PDT 2022
ldionne added inline comments.
================
Comment at: libcxx/src/CMakeLists.txt:337
+ if (LIBCXX_HERMETIC_STATIC_LIBRARY)
+ target_compile_options(cxx_experimental PRIVATE ${CXX_STATIC_LIBRARY_FLAGS})
+ # _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS can be defined in __config_site
----------------
Shouldn't we always add these flags to `cxx_experimental`, i.e. not only when `LIBCXX_HERMETIC_STATIC_LIBRARY=ON`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129271/new/
https://reviews.llvm.org/D129271
More information about the libcxx-commits
mailing list