configure: fix --enable-fuzzing linker failures
commitefce01bcb6757158358a3f2c1f6756ffab4aa8c0
authorAlexander Bulekov <alxndr@bu.edu>
Sun, 21 Feb 2021 17:45:10 +0000 (21 12:45 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 Feb 2021 13:14:32 +0000 (25 14:14 +0100)
tree3145e232618e7f66cb0df3ed8b60191cba5dcfaa
parent237377ac72b38f030058948f2d744c230b62be40
configure: fix --enable-fuzzing linker failures

With --enable-fuzzing, QEMU_CFLAGS include -fsanitize=fuzzer-no-link.
This should allow us to build non-fuzzer binaries using objects
instrumented for fuzzing. However, to do that, we also need to link with
-fsanitize=fuzzer-no-link. We were not doing that.

Reported-by: Li Qiang <liq3ea@163.com>,
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20210221174510.22542-1-alxndr@bu.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure