From 8b0db6a0fce7f24ae5a82285cbdd06286eb44bac Mon Sep 17 00:00:00 2001 From: sleepingkirby Date: Fri, 22 May 2020 23:56:44 +0800 Subject: [PATCH] Updated Building for Linux (markdown) --- Building-for-Linux.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) ```