From b42a3c13a29708b4e96a5ad47fccc2def16af56b Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Thu, 3 Nov 2022 14:37:19 +0300
Subject: [PATCH 1/2] Re-add cflag no-unknown-warnings for clang specifically

---
 cinelerra-5.1/configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index 79533426..1f21656a 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -1082,6 +1082,7 @@ done
 # build extras
 if test "x$WANT_CLANG" = "xyes" ; then
   FFMPEG_EXTRA_CFG+=' --cc=clang --cxx=clang++'
+  CFG_CFLAGS+=" -Wno-unknown-warning-option"
 fi
 if test "x$HAVE_tiff" = "xyes"; then
   if test "x$HAVE_jbig" = "xyes"; then
-- 
2.38.1

