This commit is contained in:
Andrea Fioraldi
2021-02-11 21:17:08 +01:00
committed by GitHub
parent 2cd4624779
commit 91f2f057e4

View File

@ -233,7 +233,6 @@ QEMU_CONF_FLAGS=" \
--disable-xen \ --disable-xen \
--disable-xen-pci-passthrough \ --disable-xen-pci-passthrough \
--disable-xfsctl \ --disable-xfsctl \
--enable-pie \
--python=${PYTHONBIN} \ --python=${PYTHONBIN} \
--target-list="${CPU_TARGET}-linux-user" \ --target-list="${CPU_TARGET}-linux-user" \
--without-default-devices \ --without-default-devices \
@ -253,6 +252,11 @@ if [ "$STATIC" = "1" ]; then
--static \ --static \
--extra-cflags=-DAFL_QEMU_STATIC_BUILD=1 \ --extra-cflags=-DAFL_QEMU_STATIC_BUILD=1 \
" "
else
QEMU_CONF_FLAGS="{$QEMU_CONF_FLAGS} --enable-pie "
fi fi
if [ "$DEBUG" = "1" ]; then if [ "$DEBUG" = "1" ]; then