Skip to content

Commit 754caf6

Browse files
committed
[Fix #96] Clang initial support, thanks @rmusial
1 parent 16d2ae0 commit 754caf6

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Then install it
9595

9696
sudo emerge -av mbpfan
9797

98+
9899
Generic Install Instructions
99100
-------------------------
100101
Compile with
@@ -105,14 +106,28 @@ Install with
105106

106107
sudo make install
107108

108-
It copies mbpfan to /usr/sbin, mbpfan.conf to /etc,
109+
It copies mbpfan to /usr/sbin, mbpfan.conf to /etc (and overwrites existing files),
109110
README.md to /usr/share/doc/mbpfan, and mbpfan.8.gz to /usr/share/man/man8
110111

111-
Compile with Clang
112-
-------------------------
112+
Run the tests now, see two sections below.
113+
114+
If you would like to compile with Clang instead of GCC, see the next section.
115+
116+
Compile with Clang (experimental)
117+
---------------------------------
118+
We are providing an initial experimental support for [Clang and LLVM](http://clang.llvm.org/).
119+
Please go to the next section if you are following a standard installation procedure (most people do).
120+
113121
Edit the 'Makefile' and replace G++ with clang++
114122

115-
Tested and working with Clang 3.9
123+
Please run
124+
125+
make clean
126+
127+
Before attempting to compile again with Clang.
128+
129+
Tested and working with Clang 3.8 and 3.9.
130+
116131

117132
Run The Tests (Recommended)
118133
---------------------------

0 commit comments

Comments
 (0)