git://git.jankratochvil.net
/
lldb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400b6c0
)
[libc++] Drop redundant check for -std=c++14
author
Louis Dionne
<ldionne@apple.com>
Mon, 24 Feb 2020 17:21:07 +0000
(12:21 -0500)
committer
Louis Dionne
<ldionne@apple.com>
Mon, 24 Feb 2020 17:23:05 +0000
(12:23 -0500)
We always build all components of libc++ with -std=c++14 anyway
libcxx/src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/libcxx/src/CMakeLists.txt
b/libcxx/src/CMakeLists.txt
index
28af7b9
..
2a9d054
100644
(file)
--- a/
libcxx/src/CMakeLists.txt
+++ b/
libcxx/src/CMakeLists.txt
@@
-313,11
+313,6
@@
if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
OUTPUT_NAME "c++experimental"
)
cxx_add_common_build_flags(cxx_experimental)
- # Overwrite the previously-set Standard flag with -std=c++14 if supported
- check_flag_supported(-std=c++14)
- if (NOT MSVC AND LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG)
- target_compile_options(cxx_experimental PRIVATE "-std=c++14")
- endif()
endif()