OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b935402
)
[CMake] Fix accidentally swapped input/output parameters of string(REPLACE) for mingw
author
Martin Storsjo
<martin@martin.st>
Tue, 9 Apr 2019 08:31:25 +0000
(08:31 +0000)
committer
Martin Storsjo
<martin@martin.st>
Tue, 9 Apr 2019 08:31:25 +0000
(08:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357979
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/HandleLLVMOptions.cmake
b/cmake/modules/HandleLLVMOptions.cmake
index
47a1112
..
15497d4
100644
(file)
--- a/
cmake/modules/HandleLLVMOptions.cmake
+++ b/
cmake/modules/HandleLLVMOptions.cmake
@@
-452,7
+452,7
@@
elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
if (CYGWIN OR MINGW)
# MinGW and Cygwin are a bit stricter and lack things like
# 'strdup', 'stricmp', etc in c++11 mode.
- string(REPLACE "c++" "gnu++"
"${LLVM_CXX_STD}" gnu_LLVM_CXX_STD
)
+ string(REPLACE "c++" "gnu++"
gnu_LLVM_CXX_STD "${LLVM_CXX_STD}"
)
append("-std=${gnu_LLVM_CXX_STD}" CMAKE_CXX_FLAGS)
else()
append("-std=${LLVM_CXX_STD}" CMAKE_CXX_FLAGS)