Use = not ==, from Leonardo Taccari.

pull/2664/head
Nicholas Marriott 2021-04-18 08:48:03 +01:00
parent 5fa8e5e13f
commit 3a892228f4
1 changed files with 3 additions and 3 deletions

View File

@ -34,10 +34,10 @@ AC_ARG_VAR(
# Set up convenient fuzzing defaults before initializing compiler.
if test "x$enable_fuzzing" = xyes; then
AC_DEFINE(NEED_FUZZING)
test "x$CC" == x && CC=clang
test "x$FUZZING_LIBS" == x && \
test "x$CC" = x && CC=clang
test "x$FUZZING_LIBS" = x && \
FUZZING_LIBS="-fsanitize=fuzzer"
test "x$SAVED_CFLAGS" == x && \
test "x$SAVED_CFLAGS" = x && \
AM_CFLAGS="-g -fsanitize=fuzzer-no-link,address"
fi