[compiler-rt] r202355 - Add accidentally removed -D

Alexey Samsonov samsonov at google.com
Wed Feb 26 23:03:32 PST 2014


Author: samsonov
Date: Thu Feb 27 01:03:32 2014
New Revision: 202355

URL: http://llvm.org/viewvc/llvm-project?rev=202355&view=rev
Log:
Add accidentally removed -D

Modified:
    compiler-rt/trunk/CMakeLists.txt

Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=202355&r1=202354&r2=202355&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Thu Feb 27 01:03:32 2014
@@ -239,7 +239,7 @@ endif()
 
 # Emulate C99 and C++11's __func__ for MSVC prior to 2013 CTP.
 if(NOT COMPILER_RT_HAS_FUNC_SYMBOL)
-  add_definitions(__func__=__FUNCTION__)
+  add_definitions(-D__func__=__FUNCTION__)
 endif()
 
 # Provide some common commmandline flags for Sanitizer runtimes.





More information about the llvm-commits mailing list