From 1e9c38fa38708ab113856f16af5df86bcf1d2d50 Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Sat, 27 Apr 2024 18:30:07 +0100 Subject: [PATCH] libredwg: harden build in introspector mode (#11849) The goal is to enable fuzz introspector so further analysis can be done on libredwg. --- projects/libredwg/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/libredwg/build.sh b/projects/libredwg/build.sh index f173ba74a..66c864378 100755 --- a/projects/libredwg/build.sh +++ b/projects/libredwg/build.sh @@ -15,6 +15,12 @@ # ################################################################################ +# Harden build in introspector mode +if [[ "$SANITIZER" == introspector ]]; then + export CFLAGS="${CFLAGS} -Wno-error" + export CXXFLAGS="${CXXFLAGS} -Wno-error" +fi + cd libredwg sh ./autogen.sh # enable-release to skip unstable preR13. bindings are not fuzzed.