[llvm] r198138 - Try to fix windows build after r198136.

Nico Weber nicolasweber at gmx.de
Sat Dec 28 15:50:01 PST 2013


Author: nico
Date: Sat Dec 28 17:50:01 2013
New Revision: 198138

URL: http://llvm.org/viewvc/llvm-project?rev=198138&view=rev
Log:
Try to fix windows build after r198136.

`type` can't read from stdin.

Modified:
    llvm/trunk/cmake/modules/AddLLVM.cmake

Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=198138&r1=198137&r2=198138&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Sat Dec 28 17:50:01 2013
@@ -37,7 +37,7 @@ function(add_llvm_symbol_exports target_
 
     add_custom_command(OUTPUT symbol.def
       COMMAND cmake -E echo "EXPORTS" > symbol.def
-      COMMAND ${CAT} < ${export_file} >> symbol.def
+      COMMAND ${CAT} ${export_file} >> symbol.def
       DEPENDS ${export_file}
       VERBATIM
       COMMENT "Creating export file for ${target_name}")





More information about the llvm-commits mailing list