summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-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 fdd79a0abb0..6a9263e3a19 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -19,7 +19,7 @@ function(add_llvm_symbol_exports target_name export_file)
add_custom_command(OUTPUT symbol.exports
COMMAND echo "{" > symbol.exports
COMMAND grep -q "[[:alnum:]]" ${export_file} && echo " global:" >> symbol.exports || :
- COMMAND sed -e "s/$$/;/" -e "s/^/ /" < ${export_file} >> symbol.exports
+ COMMAND sed -e "s/$/;/" -e "s/^/ /" < ${export_file} >> symbol.exports
COMMAND echo " local: *;" >> symbol.exports
COMMAND echo "};" >> symbol.exports
DEPENDS ${export_file}
OpenPOWER on IntegriCloud