diff --git a/Building-for-Linux.md b/Building-for-Linux.md index 4015cfd..4b5a6d4 100644 --- a/Building-for-Linux.md +++ b/Building-for-Linux.md @@ -34,7 +34,7 @@ You'll need to download and install the following to build Citra: - Arch: `pacman -S base-devel` - Fedora: `dnf install gcc-c++` * [Clang](https://github.com/llvm-mirror/clang) 5.0+ - - Deb: `apt-get install clang libc++-dev` (in some distros, clang-5.0). + - Deb: `apt-get install clang clang-format libc++-dev` (in some distros, clang-5.0). - Arch: `pacman -S clang`, `libc++` is in the AUR. Use pacaur or yaourt to install it. - Fedora: `dnf install clang libcxx-devel` * [CMake](http://www.cmake.org/) 3.8+ @@ -75,9 +75,9 @@ Note: It is important you use libc++, otherwise your build will likely fail: ``` mkdir build cd build -cmake -DCMAKE_CXX_COMPILER=clang++-5.0 \ +cmake .. -DCMAKE_CXX_COMPILER=clang++-5.0 \ -DCMAKE_C_COMPILER=clang-5.0 \ - -DCMAKE_CXX_FLAGS="-O2 -g -stdlib=libc++" .. + -DCMAKE_CXX_FLAGS="-O2 -g -stdlib=libc++" make sudo make install (optional) ```