unicorn: fix build error

This commit is contained in:
Henrik Grimler 2020-05-06 12:00:00 +02:00
parent f9335abdff
commit 25218cdc54
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- ../Makefile.orig 2020-05-06 09:57:15.390559598 +0000
+++ ./Makefile 2017-04-20 06:14:24.000000000 +0000
@@ -212,7 +212,7 @@
qemu/config-host.h-timestamp:
cd qemu && \
- ./configure --cc="${CC}" --extra-cflags="$(UNICORN_CFLAGS)" --target-list="$(UNICORN_TARGETS)" ${UNICORN_QEMU_FLAGS}
+ ./configure --cc="${CC}" --extra-cflags="$(UNICORN_CFLAGS)" --target-list="$(UNICORN_TARGETS)" ${UNICORN_QEMU_FLAGS} --python=/usr/bin/python2
printf "$(UNICORN_ARCHS)" > config.log
$(MAKE) -C qemu $(SMP_MFLAGS)
$(eval UC_TARGET_OBJ += $$(wildcard qemu/util/*.o) $$(wildcard qemu/*.o) $$(wildcard qemu/qom/*.o) $$(wildcard qemu/hw/core/*.o) $$(wildcard qemu/qapi/*.o) $$(wildcard qemu/qobject/*.o))

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Unicorn is a lightweight multi-platform, multi-architect
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=1.0.1
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://github.com/unicorn-engine/unicorn/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=3a6a4f2b8c405ab009040ca43af8e4aa10ebe44d9c8b336aa36dc35df955017c
TERMUX_PKG_BREAKS="unicorn-dev"