v1.1.15 update
[musl-tools.git] / update.sh
blobd4d3e2de5076dad13bb96d3b75db6923d901c3a5
1 #!/bin/sh
3 export LC_ALL=C
5 [ -e /tmp/Mrepo ] && echo 'using existing Mrepo' || git clone ${MUSL:-../musl} /tmp/Mrepo
6 export MUSL=/tmp/Mrepo
8 [ -e /tmp/Mprefix ] && echo 'using existing Mprefix' || (
9 mkdir -p /tmp/Mbuild
10 cd /tmp/Mbuild
11 /tmp/Mrepo/configure --prefix=/tmp/Mprefix --syslibdir=/tmp/Mprefix/lib --disable-wrapper
12 make -j install
14 export MUSL_PREFIX=/tmp/Mprefix
16 . ./makesyms.sh
17 . ./maketags.sh
18 . ./maketagssrc.sh
19 . ./makedecls.sh
20 . ./abi_type.sh
21 . ./abi_func.sh
23 . ./tab_c99.sh
24 . ./tab_c11.sh
25 . ./tab_posix.sh
26 . ./findproblems.sh