projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d401e
)
Visual C++ does not support -ffunction-sections -fdata-sections.
author
Yaron Keren
<yaron.keren@gmail.com>
Mon, 30 Dec 2013 05:31:53 +0000
(
05:31
+0000)
committer
Yaron Keren
<yaron.keren@gmail.com>
Mon, 30 Dec 2013 05:31:53 +0000
(
05:31
+0000)
llvm-svn: 198203
llvm/cmake/modules/AddLLVM.cmake
patch
|
blob
|
history
diff --git
a/llvm/cmake/modules/AddLLVM.cmake
b/llvm/cmake/modules/AddLLVM.cmake
index
6840cfc
..
b31aeee
100644
(file)
--- a/
llvm/cmake/modules/AddLLVM.cmake
+++ b/
llvm/cmake/modules/AddLLVM.cmake
@@
-77,7
+77,7
@@
function(add_llvm_symbol_exports target_name export_file)
endfunction(add_llvm_symbol_exports)
function(add_dead_strip target_name)
- if(NOT CYGWIN AND NOT MINGW)
+ if(NOT CYGWIN AND NOT MINGW
AND NOT MSVC
)
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
SET(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -ffunction-sections -fdata-sections"