diff options
| author | Eric Fiselier <eric@efcs.ca> | 2018-10-01 01:00:11 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2018-10-01 01:00:11 +0000 |
| commit | 11edd935c8516f92841ca372aca86f20a002ce7f (patch) | |
| tree | c7a801e614efc8e31af5951d62a3d86ef07f694c /libcxx/cmake | |
| parent | 47d0a37704ebc529ad2ab8a46e12a06e88df3207 (diff) | |
| download | bcm5719-llvm-11edd935c8516f92841ca372aca86f20a002ce7f.tar.gz bcm5719-llvm-11edd935c8516f92841ca372aca86f20a002ce7f.zip | |
Attempt to unbreak Windows configuration.
Although libc++ doesn't yet support Windows we still have Windows
builders to track our progress.
Currently the clang-cl configuration seems broken because it doesn't
support -std=c++11 and instead requires /std:c++11. This patch attempts
to fix this.
llvm-svn: 343431
Diffstat (limited to 'libcxx/cmake')
| -rw-r--r-- | libcxx/cmake/Modules/HandleLibcxxFlags.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/cmake/Modules/HandleLibcxxFlags.cmake b/libcxx/cmake/Modules/HandleLibcxxFlags.cmake index 65f7d187f3b..24fe0c5d5fb 100644 --- a/libcxx/cmake/Modules/HandleLibcxxFlags.cmake +++ b/libcxx/cmake/Modules/HandleLibcxxFlags.cmake @@ -16,6 +16,7 @@ macro(mangle_name str output) string(REGEX REPLACE "^-+" "" strippedStr "${strippedStr}") string(REGEX REPLACE "-+$" "" strippedStr "${strippedStr}") string(REPLACE "-" "_" strippedStr "${strippedStr}") + string(REPLACE ":" "_COLON_" strippedStr "${strippedStr}") string(REPLACE "=" "_EQ_" strippedStr "${strippedStr}") string(REPLACE "+" "X" strippedStr "${strippedStr}") string(TOUPPER "${strippedStr}" ${output}) |

