aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-03-11 18:07:46 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-03-11 18:07:46 +0000
commitaa1fbb40ad432479972971cc877cb4109bd59649 (patch)
treea3155076e10695c6a7fc2b73bd8ea417929e25e6
parent027f0995d4f2a73836fe3225514c507f5c63deae (diff)
downloadexternal_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.txt2
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}