File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed
libcxx/include/__type_traits Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 19
19
20
20
_LIBCPP_BEGIN_NAMESPACE_STD
21
21
22
- #if __has_builtin(__remove_cv)
22
+ #if __has_builtin(__remove_cv) && !defined(_LIBCPP_COMPILER_GCC)
23
23
template <class _Tp >
24
24
struct remove_cv {
25
25
using type _LIBCPP_NODEBUG = __remove_cv(_Tp);
Original file line number Diff line number Diff line change 20
20
21
21
_LIBCPP_BEGIN_NAMESPACE_STD
22
22
23
- #if __has_builtin(__remove_cvref)
23
+ #if __has_builtin(__remove_cvref) && !defined(_LIBCPP_COMPILER_GCC)
24
24
template <class _Tp >
25
25
using __remove_cvref_t _LIBCPP_NODEBUG = __remove_cvref(_Tp);
26
26
#else
Original file line number Diff line number Diff line change @@ -80,11 +80,6 @@ endif()
80
80
81
81
# Setup flags.
82
82
add_link_flags_if (CXX_SUPPORTS_UNWINDLIB_EQ_NONE_FLAG --unwindlib=none )
83
- if (CXX_SUPPORTS_NOSTDLIBXX_FLAG )
84
- add_link_flags_if_supported (-nostdlib++ )
85
- else ()
86
- add_link_flags_if_supported (-nodefaultlibs )
87
- endif ()
88
83
89
84
# MINGW_LIBRARIES is defined in config-ix.cmake
90
85
add_library_flags_if (MINGW "${MINGW_LIBRARIES} " )
You can’t perform that action at this time.
0 commit comments