mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 15:38:09 +00:00
1184610971
* 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
26 lines
475 B
Bash
Executable File
26 lines
475 B
Bash
Executable File
#!/bin/sh
|
|
# find root
|
|
cd "$(dirname "$PWD/$0")" ; cd ..
|
|
#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"
|
|
|
|
CFGFLAGS="--prefix=/usr"
|
|
|
|
make mrproper
|
|
cp -f dist/plugins-cfg/plugins.tiny.cfg plugins.cfg
|
|
./configure-plugins
|
|
|
|
# shellcheck disable=SC2086
|
|
./configure ${CFGFLAGS} && \
|
|
make -s -j ${MAKE_JOBS} DEBUG=0
|
|
|
|
LDFLAGS="${OLD_LDFLAGS}"
|