[llvm-commits] [lld] r153588 - /lld/trunk/CMakeLists.txt
Michael J. Spencer
bigcheesegs at gmail.com
Wed Mar 28 11:48:48 PDT 2012
Author: mspencer
Date: Wed Mar 28 13:48:47 2012
New Revision: 153588
URL: http://llvm.org/viewvc/llvm-project?rev=153588&view=rev
Log:
Disable /Za on Windows. It breaks C++11 ;/.
Modified:
lld/trunk/CMakeLists.txt
Modified: lld/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/CMakeLists.txt?rev=153588&r1=153587&r2=153588&view=diff
==============================================================================
--- lld/trunk/CMakeLists.txt (original)
+++ lld/trunk/CMakeLists.txt Wed Mar 28 13:48:47 2012
@@ -102,14 +102,6 @@
target_link_libraries(${name} ${LLVM_COMMON_LIBS})
link_system_libs(${name})
- 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}
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
More information about the llvm-commits
mailing list