forked from OSchip/llvm-project
Try to fix linux build after r198136.
$ needs to be written $$ in makefiles, but not in cmakefiles. llvm-svn: 198137
This commit is contained in:
parent
c27118ddb6
commit
a69d1a88a6
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue