Skip to content

Commit d7a4ff9

Browse files
committed
[compiler-rt] Clean up explicit -std=c++17 addition
This was superseded by 5737f6a. Clean it up as suggested by Mike Hommey in https://reviews.llvm.org/D131937.
1 parent 514b759 commit d7a4ff9

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

compiler-rt/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ if(COMPILER_RT_ENABLE_WERROR)
300300
append_string_if(COMPILER_RT_HAS_WX_FLAG /WX CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
301301
endif()
302302

303-
append_string_if(COMPILER_RT_HAS_STD_CXX17_FLAG -std=c++17 CMAKE_CXX_FLAGS)
304-
305303
# Emulate C99 and C++11's __func__ for MSVC prior to 2013 CTP.
306304
if(NOT COMPILER_RT_HAS_FUNC_SYMBOL)
307305
add_definitions(-D__func__=__FUNCTION__)

compiler-rt/cmake/config-ix.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ check_cxx_compiler_flag(-fvisibility=hidden COMPILER_RT_HAS_FVISIBILITY_HIDDEN_
8181
check_cxx_compiler_flag(-frtti COMPILER_RT_HAS_FRTTI_FLAG)
8282
check_cxx_compiler_flag(-fno-rtti COMPILER_RT_HAS_FNO_RTTI_FLAG)
8383
check_cxx_compiler_flag("-Werror -fno-function-sections" COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG)
84-
check_cxx_compiler_flag(-std=c++17 COMPILER_RT_HAS_STD_CXX17_FLAG)
8584
check_cxx_compiler_flag(-ftls-model=initial-exec COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC)
8685
check_cxx_compiler_flag(-fno-lto COMPILER_RT_HAS_FNO_LTO_FLAG)
8786
check_cxx_compiler_flag(-fno-profile-generate COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG)

0 commit comments

Comments
 (0)