[polly] r242773 - Remove /Za flag from Visual Studio compilation
Michael Kruse
llvm at meinersbur.de
Tue Jul 21 05:16:00 PDT 2015
Author: meinersbur
Date: Tue Jul 21 07:16:00 2015
New Revision: 242773
URL: http://llvm.org/viewvc/llvm-project?rev=242773&view=rev
Log:
Remove /Za flag from Visual Studio compilation
According to Stephan T. Lavavej it is broken. See
http://comments.gmane.org/gmane.comp.compilers.clang.devel/21638
Reviewers: grosser
Modified:
polly/trunk/cmake/polly_macros.cmake
Modified: polly/trunk/cmake/polly_macros.cmake
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/cmake/polly_macros.cmake?rev=242773&r1=242772&r2=242773&view=diff
==============================================================================
--- polly/trunk/cmake/polly_macros.cmake (original)
+++ polly/trunk/cmake/polly_macros.cmake Tue Jul 21 07:16:00 2015
@@ -36,14 +36,6 @@ macro(add_polly_library name)
if( LLVM_LINK_COMPONENTS )
llvm_config(${name} ${LLVM_LINK_COMPONENTS})
endif( LLVM_LINK_COMPONENTS )
- if(MSVC)
- get_target_property(cflag ${name} COMPILE_FLAGS)
- if(NOT cflag)
- set(cflag "")
- endif(NOT cflag)
- set(cflag "${cflag} /Za")
- set_target_properties(${name} PROPERTIES COMPILE_FLAGS ${cflag})
- endif(MSVC)
install(TARGETS ${name}
EXPORT LLVMExports
LIBRARY DESTINATION lib
More information about the llvm-commits
mailing list