mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
Bump capstone and check toolchain in mingw64.sh
This commit is contained in:
parent
f134e056a1
commit
590f9023b0
@ -8,7 +8,7 @@ CS_TAR=
|
||||
CS_URL=https://www.github.com/aquynh/capstone.git
|
||||
CS_UPD=20150320
|
||||
CS_BRA=next
|
||||
CS_TIP=8bb1f04bb814ce660be3c6faecbb62c676fa26ed
|
||||
CS_TIP=1271684973513660ef8a71ecbb013bdb199e67d9
|
||||
|
||||
.PHONY: capstone-sync capstone-build all clean mrproper libgdbr libwind
|
||||
|
||||
|
@ -8,6 +8,14 @@ cd `dirname $PWD/$0` ; cd ..
|
||||
export PATH=${PWD}/sys/_work/mingw64/bin:${PATH}
|
||||
# TODO: add support for ccache
|
||||
|
||||
type x86_64-w64-mingw32-gcc >/dev/null 2>&1
|
||||
if [ $? = 0 ]; then
|
||||
C=x86_64-w64-mingw32-gcc
|
||||
else
|
||||
echo "mingw64 package required."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make clean
|
||||
./configure --without-gmp --with-compiler=x86_64-w64-mingw32-gcc --with-ostype=windows --host=x86_64-unknown-windows --without-ssl
|
||||
make -s -j ${MAKE_JOBS} CC="${C} -static-libgcc" && \
|
||||
|
Loading…
Reference in New Issue
Block a user