2014-12-03 16:27:11 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# find root
|
2015-06-16 22:39:19 -04:00
|
|
|
cd "$(dirname "$PWD/$0")" ; cd ..
|
2014-12-03 16:27:11 +01:00
|
|
|
#TODO: add support for ccache
|
|
|
|
|
|
|
|
# XXX. fails with >1
|
|
|
|
[ -z "${MAKE_JOBS}" ] && MAKE_JOBS=8
|
|
|
|
|
|
|
|
OLD_LDFLAGS="${LDFLAGS}"
|
|
|
|
unset LDFLAGS
|
|
|
|
|
|
|
|
export CC="emcc --ignore-dynamic-linking"
|
|
|
|
export AR="emar"
|
|
|
|
|
2018-01-11 23:14:00 +01:00
|
|
|
CFGFLAGS="--prefix=/usr"
|
2014-12-03 16:27:11 +01:00
|
|
|
|
|
|
|
make mrproper
|
Fix the CI badge and fully rewrite all the workflows to make sense ##build
* Windows, Linux, Static, macOS, Android, iOS builds published for every commit
* Kept coverage, coverity, fuzzing tests, lgtm and -Werror jobs
* Kill the continuos, the over-engineered matrix and other empty or unnecessary tasks (250 vs 900LOC)
* Jobs TODO: fatmac, termux and rpm (centos) packages
2021-01-12 13:41:21 +01:00
|
|
|
cp -f dist/plugins-cfg/plugins.tiny.cfg plugins.cfg
|
2014-12-03 16:27:11 +01:00
|
|
|
./configure-plugins
|
|
|
|
|
2015-06-16 22:39:19 -04:00
|
|
|
# shellcheck disable=SC2086
|
2014-12-03 16:27:11 +01:00
|
|
|
./configure ${CFGFLAGS} && \
|
|
|
|
make -s -j ${MAKE_JOBS} DEBUG=0
|
2015-06-16 22:39:19 -04:00
|
|
|
|
|
|
|
LDFLAGS="${OLD_LDFLAGS}"
|