summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-12-28 23:39:49 +0000
committerNico Weber <nicolasweber@gmx.de>2013-12-28 23:39:49 +0000
commit7f5deb1e2e16c18a1714ac7833b49c3d9fe56730 (patch)
treea9563e9aab7f101ea8b19d1797a131685d7e9e3d /cmake
parentb6fe25c47661a287224d09165b68ce76084294ca (diff)
downloadllvm-7f5deb1e2e16c18a1714ac7833b49c3d9fe56730.tar.gz
llvm-7f5deb1e2e16c18a1714ac7833b49c3d9fe56730.tar.bz2
llvm-7f5deb1e2e16c18a1714ac7833b49c3d9fe56730.tar.xz
Try to fix linux build after r198136.
$ needs to be written $$ in makefiles, but not in cmakefiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index fdd79a0abb..6a9263e3a1 100644
--- a/cmake/modules/AddLLVM.cmake
+++ b/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}