Debian Codegraph @

debian/patches/clang-target

raw symbols SCIP
1 https://github.com/espeak-ng/espeak-ng/pull/2063
2
3 ---
4 configure.ac | 4 ++--
5 1 file changed, 2 insertions(+), 2 deletions(-)
6
7 --- a/configure.ac
8 +++ b/configure.ac
9 @@ -140,8 +140,8 @@ if test "$with_libfuzzer" = yes ; then
10 AC_LANG_PUSH(C)
11 TEMP_CFLAGS="$CFLAGS"
12 TEMP_LIBS="$LIBS"
13 - HOST_CPU="`$CC -print-multiarch | sed -e 's/-.*//'`"
14 - LIBFUZZER_NO_MAIN="`$CC -print-runtime-dir`/libclang_rt.fuzzer_no_main-$HOST_CPU.a -lstdc++ -lm"
15 + HOST_CPU="`$CC -print-target-triple | sed -e 's/-.*//'`"
16 + LIBFUZZER_NO_MAIN="`$CC -print-file-name=libclang_rt.fuzzer_no_main-$HOST_CPU.a` -lstdc++ -lm"
17 CFLAGS="$CFLAGS -fsanitize=fuzzer-no-link"
18 LIBS="$LIBS $LIBFUZZER_NO_MAIN"
19 AC_MSG_CHECKING([if $CC supports fuzzer with the -fsanitize=fuzzer flag])