summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorAndrew Moss <1043609+amoss@users.noreply.github.com>2020-02-27 19:23:18 +0100
committerGitHub <noreply@github.com>2020-02-27 13:23:18 -0500
commit1ea0d8d0897ec2d84ff447874e2ebd6170f54287 (patch)
tree531e154ff5d1d01bcd5fadca9f7229da78161ea3 /netdata-installer.sh
parentb7c793b872379a2fbb4f2ab7890a9b9c688219a8 (diff)
Adding support for ACLK build-configuration (#8223)
* Fixes for issues not caught at review in #8144. (#8211) * Properly scrub build environment for external dependencies. * Remove LWS from our system-level dependencies. We've decided to just always bundle it in the installer. * Add missing dependency for Docker build process. * Use static-build of LWS library created by installer (#8157) * link static lib of LWS * only use static LWS by installer * handle -lcap * fix problem on debian without lcap * fix lws check Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com> Co-authored-by: Timo <6674623+underhood@users.noreply.github.com>
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 8887a8899c..92873f9482 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -436,7 +436,7 @@ trap build_error EXIT
# -----------------------------------------------------------------------------
build_libmosquitto() {
- run make -C "${1}/lib"
+ run env CFLAGS= CXXFLAGS= LDFLAGS= make -C "${1}/lib"
}
copy_libmosquitto() {
@@ -492,8 +492,8 @@ bundle_libmosquitto
build_libwebsockets() {
pushd "${1}" > /dev/null || exit 1
- cmake -D LWS_WITH_SOCKS5:bool=ON .
- make
+ run env CFLAGS= CXXFLAGS= LDFLAGS= cmake -D LWS_WITH_SOCKS5:bool=ON .
+ run env CFLAGS= CXXFLAGS= LDFLAGS= make
popd > /dev/null || exit 1
}