[llvm] r198137 - Try to fix linux build after r198136.

Nico Weber nicolasweber at gmx.de
Sat Dec 28 15:39:49 PST 2013


Author: nico
Date: Sat Dec 28 17:39:49 2013
New Revision: 198137

URL: http://llvm.org/viewvc/llvm-project?rev=198137&view=rev
Log:
Try to fix linux build after r198136.

$ needs to be written $$ in makefiles, but not in cmakefiles.

Modified:
    llvm/trunk/cmake/modules/AddLLVM.cmake

Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=198137&r1=198136&r2=198137&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Sat Dec 28 17:39:49 2013
@@ -19,7 +19,7 @@ function(add_llvm_symbol_exports target_
     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}





More information about the llvm-commits mailing list