Index: libcxx/trunk/CMakeLists.txt =================================================================== --- libcxx/trunk/CMakeLists.txt +++ libcxx/trunk/CMakeLists.txt @@ -485,10 +485,6 @@ # Configure compiler. include(config-ix) -if (LIBCXX_USE_COMPILER_RT) - list(APPEND LIBCXX_LINK_FLAGS "-rtlib=compiler-rt") -endif() - # Configure coverage options. if (LIBCXX_GENERATE_COVERAGE) include(CodeCoverage) Index: libcxxabi/trunk/CMakeLists.txt =================================================================== --- libcxxabi/trunk/CMakeLists.txt +++ libcxxabi/trunk/CMakeLists.txt @@ -262,10 +262,6 @@ string(REPLACE "-stdlib=libstdc++" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") endif() -if (LIBCXXABI_USE_COMPILER_RT) - list(APPEND LIBCXXABI_LINK_FLAGS "-rtlib=compiler-rt") -endif() - # Let the library headers know they are currently being used to build the # library. add_definitions(-D_LIBCXXABI_BUILDING_LIBRARY)