summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 6a9263e3a19..5be5a5448da 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -37,7 +37,7 @@ function(add_llvm_symbol_exports target_name export_file)
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}")
OpenPOWER on IntegriCloud