diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-11 18:07:46 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-11 18:07:46 +0000 |
commit | aa1fbb40ad432479972971cc877cb4109bd59649 (patch) | |
tree | a3155076e10695c6a7fc2b73bd8ea417929e25e6 | |
parent | 027f0995d4f2a73836fe3225514c507f5c63deae (diff) | |
download | external_llvm-aa1fbb40ad432479972971cc877cb4109bd59649.zip external_llvm-aa1fbb40ad432479972971cc877cb4109bd59649.tar.gz external_llvm-aa1fbb40ad432479972971cc877cb4109bd59649.tar.bz2 |
Fix processing of gold.exports.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127471 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/gold/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gold/CMakeLists.txt b/tools/gold/CMakeLists.txt index ca3ce45..15ca8d7 100644 --- a/tools/gold/CMakeLists.txt +++ b/tools/gold/CMakeLists.txt @@ -22,7 +22,7 @@ else() add_custom_command(OUTPUT exportsfile COMMAND echo "{" > exportsfile COMMAND grep -q "\\<" ${srcexp} && echo " global:" >> exportsfile || : - COMMAND sed -e "s/\$\$/;/" -e "s/^/ /" < ${srcexp} >> exportsfile + COMMAND sed -e "s/$/;/" -e "s/^/ /" < ${srcexp} >> exportsfile COMMAND echo " local: *;" >> exportsfile COMMAND echo "};" >> exportsfile DEPENDS ${srcexp} |