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
This commit is contained in:
Nico Weber 2013-12-28 23:39:49 +00:00
parent b6fe25c476
commit 7f5deb1e2e

View 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}