sleuthkit: disable error on warnings to fix build (#7148)

This commit is contained in:
DavidKorczynski 2022-01-18 14:12:05 +00:00 committed by GitHub
parent 621e3dcb0a
commit abae88cc07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@
export CFLAGS="$CFLAGS -Wno-error=non-c-typedef-for-linkage"
export CXXFLAGS="$CXXFLAGS -Wno-error=non-c-typedef-for-linkage"
# Disable error on all warnings
sed -i 's/-Werror//g' ./tsk/util/Makefile.am
sed -i 's/-Werror//g' ./tsk/pool/Makefile.am
# Dont fail if some of the seed downloads fail.
${SRC}/buildcorpus.sh || true