$OpenBSD: patch-third_party_sqlite_BUILD_gn,v 1.13 2020/10/22 13:52:55 robert Exp $

Index: third_party/sqlite/BUILD.gn
--- third_party/sqlite/BUILD.gn.orig
+++ third_party/sqlite/BUILD.gn
@@ -138,7 +138,7 @@ config("sqlite_warnings") {
       ]
     }
   }
-  if (is_linux || is_chromeos) {
+  if ((is_linux || is_chromeos) && !is_openbsd) {
     cflags += [
       # SQLite doesn't believe in compiler warnings, preferring testing.
       # http://www.sqlite.org/faq.html#q17
