From 0d9c91bac900fb37ab43e96c7170c0caaa0a8c5c Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Mon, 19 Mar 2018 22:12:33 +0000 Subject: [PATCH] Pass AM_CFLAGS to ssml-fuzzer.test. --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index fc43bdc0..591eb496 100644 --- a/Makefile.am +++ b/Makefile.am @@ -270,11 +270,12 @@ tests_libfuzzrunner_la_SOURCES = tests/fuzzrunner.c endif noinst_bin_PROGRAMS += tests/ssml-fuzzer.test -tests_ssml_fuzzer_test_LDADD = src/libespeak-ng.la +tests_ssml_fuzzer_test_CFLAGS = ${AM_CFLAGS} tests_ssml_fuzzer_test_SOURCES = tests/ssml-fuzzer.c +tests_ssml_fuzzer_test_LDADD = src/libespeak-ng.la if HAVE_LIBFUZZER -tests_ssml_fuzzer_test_CFLAGS = -fsanitize=fuzzer +tests_ssml_fuzzer_test_CFLAGS += -fsanitize=fuzzer tests_ssml_fuzzer_test_LDFLAGS = -fsanitize=fuzzer else tests_ssml_fuzzer_test_LDADD += tests/libfuzzrunner.la