LLVM-3: move a command needing root privs to a proper location

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18621 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2017-04-21 06:34:33 +00:00
parent 614fc25fd6
commit 1bcf96b15d

View File

@ -131,8 +131,7 @@
commands:
</para>
<screen><userinput>echo "/opt/llvm3/lib" >> /etc/ld.so.conf &amp;&amp;
mkdir -v build &amp;&amp;
<screen><userinput>mkdir -v build &amp;&amp;
cd build &amp;&amp;
CC=gcc CXX=g++ \
@ -156,11 +155,10 @@ make</userinput></screen>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>
make install &amp;&amp;
ldconfig &amp;&amp;
ln -sfv /opt/llvm3/bin/FileCheck /usr/bin
</userinput></screen>
<screen role="root"><userinput>echo "/opt/llvm3/lib" >> /etc/ld.so.conf &amp;&amp;
make install &amp;&amp;
ldconfig &amp;&amp;
ln -sfv /opt/llvm3/bin/FileCheck /usr/bin</userinput></screen>
<para>
Building the documentation for <emphasis>current</emphasis> LLVM is