Fix build instructions on Debian/Ubuntu

emintham 2017-03-24 12:42:47 -04:00
parent 9214d57c0b
commit 4391745b12

@ -53,6 +53,22 @@ cmake -DCMAKE_CXX_COMPILER=clang++-3.8 \
make
sudo make install (currently doesn't work, needs to be fixed)
```
Debian/Ubuntu: Owing to bug [#808086](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808086) the build might
fail. To have it build, add the following after line 1938 of `/usr/include/c++/v1/string`. (see discussion on
[StackOverflow](http://stackoverflow.com/questions/37096062/get-a-basic-c-program-to-compile-using-clang-on-ubuntu-16)
for more details.)
```
#if _LIBCPP_STD_VER <= 14
_NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value)
#else
_NOEXCEPT
#endif
```
Additionally, on Ubuntu,
do `sudo apt-get install libc++abi-dev && sudo ln -s /usr/include/libcxxabi/__cxxabi_config.h /usr/include/c++/v1/__cxxabi_config.h`
### Building Citra (Optimized):