From abae88cc07a4efbc4997f49aca356221a637ad0f Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Tue, 18 Jan 2022 14:12:05 +0000 Subject: [PATCH] sleuthkit: disable error on warnings to fix build (#7148) --- projects/sleuthkit/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/sleuthkit/build.sh b/projects/sleuthkit/build.sh index 5a763040a..c6161409b 100755 --- a/projects/sleuthkit/build.sh +++ b/projects/sleuthkit/build.sh @@ -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