diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-12-27 05:57:03 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-12-27 05:57:03 +0200 |
commit | c51e1551fc09d2c3eb2f8b3ad21767724b390780 (patch) | |
tree | 76f8be1f144a74fbe450d2ed86de3a314b26cd95 /makeself | |
parent | f40beee346198979f6e01b5ae04e4c7792c8d217 (diff) |
optimize statsd cleanup; work around freeze of musl-libc cleanup on exit; https://github.com/firehol/binary-packages/issues/4
Diffstat (limited to 'makeself')
-rwxr-xr-x | makeself/jobs/70-netdata-git.install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/makeself/jobs/70-netdata-git.install.sh b/makeself/jobs/70-netdata-git.install.sh index b85481492c..5369205c8b 100755 --- a/makeself/jobs/70-netdata-git.install.sh +++ b/makeself/jobs/70-netdata-git.install.sh @@ -6,9 +6,10 @@ cd "${NETDATA_SOURCE_PATH}" || exit 1 if [ ${NETDATA_BUILD_WITH_DEBUG} -eq 0 ] then - export CFLAGS="-static -O3" + export CFLAGS="-static -O3 -DNETDATA_WAIT_BEFORE_EXIT=2" else export CFLAGS="-static -O1 -ggdb -Wall -Wextra -Wformat-signedness -fstack-protector-all -D_FORTIFY_SOURCE=2 -DNETDATA_INTERNAL_CHECKS=1" +# export CFLAGS="-static -O1 -ggdb -Wall -Wextra -Wformat-signedness" fi if [ ! -z "${NETDATA_INSTALL_PATH}" -a -d "${NETDATA_INSTALL_PATH}/etc" ] |