diff options
author | van Hauser <vh@thc.org> | 2021-02-14 22:42:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-14 22:42:13 +0100 |
commit | 98fd50f78f2a41a232d5e979dc6e90300dd4335e (patch) | |
tree | 52d189c548b73e4500380f204ba51b7cd4a0e9c6 /qemu_mode/build_qemu_support.sh | |
parent | 95561ec5a7f7cd87d97c6e2882699c144a959172 (diff) | |
parent | 91f2f057e4eacab4cd3a1a11cde157e3a31470d0 (diff) | |
download | afl++-98fd50f78f2a41a232d5e979dc6e90300dd4335e.tar.gz |
Merge branch 'stable' into dev
Diffstat (limited to 'qemu_mode/build_qemu_support.sh')
-rwxr-xr-x | qemu_mode/build_qemu_support.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh index 5eb35855..e3c9d6ff 100755 --- a/qemu_mode/build_qemu_support.sh +++ b/qemu_mode/build_qemu_support.sh @@ -233,8 +233,7 @@ QEMU_CONF_FLAGS=" \ --disable-xen \ --disable-xen-pci-passthrough \ --disable-xfsctl \ - --enable-pie \ - --python=$PYTHONBIN \ + --python=${PYTHONBIN} \ --target-list="${CPU_TARGET}-linux-user" \ --without-default-devices \ " @@ -253,6 +252,11 @@ if [ "$STATIC" = "1" ]; then --static \ --extra-cflags=-DAFL_QEMU_STATIC_BUILD=1 \ " + +else + + QEMU_CONF_FLAGS="{$QEMU_CONF_FLAGS} --enable-pie " + fi if [ "$DEBUG" = "1" ]; then |