diff --git a/Building-for-Linux.md b/Building-for-Linux.md index 376a8a5..74fd9fb 100644 --- a/Building-for-Linux.md +++ b/Building-for-Linux.md @@ -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::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):