blob: 7868a1e76fae6764602c3b7dcb32b7282420d96b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#!/usr/bin/env bash
. $(dirname "${0}")/../functions.sh "${@}" || exit 1
fetch "bash-4.4" "http://ftp.gnu.org/gnu/bash/bash-4.4.tar.gz"
run ./configure \
--prefix=${NETDATA_INSTALL_PATH} \
--enable-static-link \
--disable-nls \
--without-bash-malloc \
# --disable-rpath \
# --enable-alias \
# --enable-arith-for-command \
# --enable-array-variables \
# --enable-brace-expansion \
# --enable-casemod-attributes \
# --enable-casemod-expansions \
# --enable-command-timing \
# --enable-cond-command \
# --enable-cond-regexp \
# --enable-directory-stack \
# --enable-dparen-arithmetic \
# --enable-function-import \
# --enable-glob-asciiranges-default \
# --enable-help-builtin \
# --enable-job-control \
# --enable-net-redirections \
# --enable-process-substitution \
# --enable-progcomp \
# --enable-prompt-string-decoding \
# --enable-readline \
# --enable-select \
run make clean
run make -j${SYSTEM_CPUS}
cat >examples/loadables/Makefile <<EOF
all:
clean:
install:
EOF
run make install
if [ ${NETDATA_BUILD_WITH_DEBUG} -eq 0 ]
then
run strip ${NETDATA_INSTALL_PATH}/bin/bash
fi
|