Try to fix linux build after r198136.
authorNico Weber <nicolasweber@gmx.de>
Sat, 28 Dec 2013 23:39:49 +0000 (23:39 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 28 Dec 2013 23:39:49 +0000 (23:39 +0000)
$ 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

cmake/modules/AddLLVM.cmake

index fdd79a0abb09dc112e14e425f617e1925697d343..6a9263e3a197ea01562c6a9c88da869732e5cfb0 100644 (file)
@@ -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}