configure: do not clobber CFLAGS with --enable-fuzzing
commit0ab6c2384ccae8968517f6883897509cd5f51a40
authorAlexander Bulekov <alxndr@bu.edu>
Wed, 8 Jul 2020 20:01:03 +0000 (8 16:01 -0400)
committerThomas Huth <thuth@redhat.com>
Mon, 13 Jul 2020 09:40:52 +0000 (13 11:40 +0200)
treeb0d1a224a7fd8ff3d21f51b3b31741e40db54b1b
parentd1abf3fc6abc01fd5f8985af92726f87b5efd80a
configure: do not clobber CFLAGS with --enable-fuzzing

When configuring with --enable-fuzzing, we overwrote the CFLAGS
added by all the preceding checks. Instead of overwriting CFLAGS, append
the ones we need.

Fixes: adc28027ff ("fuzz: add configure flag --enable-fuzzing")
Reported-by: Li Qiang <liq3ea@163.com>
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20200708200104.21978-2-alxndr@bu.edu>
Tested-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
configure