mbpfan-josie

[Fix #96] Clang initial support, thanks @rmusial

754caf6e56c590c11af681c09e1d61b5ff2cd71c
Daniel Graziotin <daniel@ineed.coffee> · 2016-12-28T16:40 · browse files at this commit

parents: 16d2ae0

diff --git a/README.md b/README.md
index 45152ec..51f0489 100644
--- a/README.md
+++ b/README.md
@@ -95,6 +95,7 @@ Then install it
 
     sudo emerge -av mbpfan
 
+
 Generic Install Instructions
 -------------------------
 Compile with
@@ -105,14 +106,28 @@ Install with
 
     sudo make install
 
-It copies mbpfan to /usr/sbin, mbpfan.conf to /etc, 
+It copies mbpfan to /usr/sbin, mbpfan.conf to /etc (and overwrites existing files), 
 README.md to /usr/share/doc/mbpfan, and mbpfan.8.gz to /usr/share/man/man8
 
-Compile with Clang
--------------------------
+Run the tests now, see two sections below.
+
+If you would like to compile with Clang instead of GCC, see the next section.
+
+Compile with Clang (experimental)
+---------------------------------
+We are providing an initial experimental support for [Clang and LLVM](http://clang.llvm.org/).
+Please go to the next section if you are following a standard installation procedure (most people do).
+
 Edit the 'Makefile' and replace G++ with clang++
 
-Tested and working with Clang 3.9
+Please run
+
+    make clean
+
+Before attempting to compile again with Clang.
+
+Tested and working with Clang 3.8 and 3.9.
+
 
 Run The Tests (Recommended)
 ---------------------------