Pass correct options to the configure command (#5244)
Configure needs the options that `netdata-installer.sh` uses as well. Without them, we get problems with the paths in the .in scripts
Chris Akritidis committed
Jan 22, 2019 at 10:22 UTC
b109030686e321e6b7f400891c809f6821039799
1 file changed
+1
-1
.travis/create_artifacts.sh
+1
-1
@@ -17,7 +17,7 @@ BASENAME="netdata-$(git describe)"
17
python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
18
echo "--- Create tarball ---"
19
autoreconf -ivf
20
-./configure
20
+./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-zlib --with-math --with-user=netdata CFLAGS=-O2
21
make dist
22
mv "${BASENAME}.tar.gz" artifacts/
23