mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Visual C++ does not support -ffunction-sections -fdata-sections.
llvm-svn: 198203
This commit is contained in:
parent
4a8a28d5d8
commit
a4b492b93c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user