minor addition to clean before compilation
Costa Tsaousis (ktsaou) committed
Nov 16, 2015 at 01:15 UTC
dfc08457be6b556548bdc4e65bce17f811aa13ca
1 file changed
+3
netdata.start
+3
@@ -10,6 +10,9 @@ then
10
echo >&2 "Running ./configure ..."
11
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-zlib --with-math --with-user=netdata CFLAGS="-march=native -O3 -Wall -Wextra" || exit 1
12
13
+ echo >&2 "Cleaning a possibly old compilation ..."
14
+ make clean || exit 1
15
+
16
echo >&2 "Compiling netdata ..."
17
make || exit 1
18
fi