libredwg: harden build in introspector mode (#11849)

The goal is to enable fuzz introspector so further analysis can be done
on libredwg.
This commit is contained in:
DavidKorczynski 2024-04-27 18:30:07 +01:00 committed by GitHub
parent 90a0400e1a
commit 1e9c38fa38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

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