diff options
| author | Yaron Keren <yaron.keren@gmail.com> | 2013-12-30 05:31:53 +0000 |
|---|---|---|
| committer | Yaron Keren <yaron.keren@gmail.com> | 2013-12-30 05:31:53 +0000 |
| commit | 03759bd9c0e2863615705a2f571827ff1f0c7945 (patch) | |
| tree | 49656c424c8efdd410238b71e3686810ad43202a /llvm | |
| parent | c2d401e9526c6d8e867562373ba12923947fa726 (diff) | |
| download | bcm5719-llvm-03759bd9c0e2863615705a2f571827ff1f0c7945.tar.gz bcm5719-llvm-03759bd9c0e2863615705a2f571827ff1f0c7945.zip | |
Visual C++ does not support -ffunction-sections -fdata-sections.
llvm-svn: 198203
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 6840cfca81f..b31aeeeae1f 100644 --- 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" |

