diff --git a/Building-OpenRCT2-on-Linux.md b/Building-OpenRCT2-on-Linux.md index f4a61ad..97b6c93 100644 --- a/Building-OpenRCT2-on-Linux.md +++ b/Building-OpenRCT2-on-Linux.md @@ -145,12 +145,12 @@ ln -s ../data data ``` ### Clang -Building with clang works the same way as building with GCC, you just need to change the CC and CXX environment variables. Keep in mind, that you need to have an empty build directory as cmake will not switch compilers after it has already generated a Makefile. +Building with clang works the same way as building with GCC, you just need to change the CXX environment variable. Keep in mind, that you need to have an empty build directory as cmake will not switch compilers after it has already generated a Makefile. ``` mkdir build && cd build -export CC=$(which clang) export CXX=$(which clang++) +# OpenRCT2 is purely a C++ project, there's no need to set CC cmake .. make ```