Skip to content

Commit a3d58fc

Browse files
committed
[libc++] Drop redundant check for -std=c++14
We always build all components of libc++ with -std=c++14 anyway
1 parent 400b6c0 commit a3d58fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libcxx/src/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,6 @@ if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
313313
OUTPUT_NAME "c++experimental"
314314
)
315315
cxx_add_common_build_flags(cxx_experimental)
316-
# Overwrite the previously-set Standard flag with -std=c++14 if supported
317-
check_flag_supported(-std=c++14)
318-
if (NOT MSVC AND LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG)
319-
target_compile_options(cxx_experimental PRIVATE "-std=c++14")
320-
endif()
321316
endif()
322317

323318

0 commit comments

Comments
 (0)