From 9e0600564ff4c9867250456ef8e030d62f241ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Fri, 4 Jan 2019 21:38:24 +0100 Subject: [PATCH] Remove the mention of setting CC, not needed anymore --- Building-OpenRCT2-on-Linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ```