Fix cling build instructions.

This commit is contained in:
Vassil Vassilev 2016-03-29 14:50:34 +02:00 committed by sftnight
parent 1c1db3c3c9
commit fce9772fd5

View File

@ -52,11 +52,11 @@ packages and [subversion][4] and [git][5] to get the source code.
* Configure, build and install them, either using CMake: * Configure, build and install them, either using CMake:
```bash ```bash
cd .. cd ../../../
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_INSTALL_PREFIX=/some/install/dir \ cmake -DCMAKE_INSTALL_PREFIX=/some/install/dir \
-DLLVM_TARGETS_TO_BUILD=CBackend\;CppBackend\;X86 \ -DLLVM_TARGETS_TO_BUILD=host \
-DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_BUILD_TYPE=Debug \
../src ../src
make make
@ -65,7 +65,7 @@ packages and [subversion][4] and [git][5] to get the source code.
* or GNU Make (see ../src/configure --help for all options): * or GNU Make (see ../src/configure --help for all options):
```bash ```bash
cd .. cd ../../../
mkdir build mkdir build
cd build cd build
../src/configure --prefix=/some/install/dir ../src/configure --prefix=/some/install/dir