mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 01:31:26 +00:00
Fix processing of gold.exports.
llvm-svn: 127471
This commit is contained in:
parent
982efb5c89
commit
87e4a4da0d
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user