Browse Source

Pass AM_CFLAGS to ssml-fuzzer.test.

master
Reece H. Dunn 7 years ago
parent
commit
0d9c91bac9
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Makefile.am

+ 3
- 2
Makefile.am View File

@@ -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

Loading…
Cancel
Save