$OpenBSD: patch-third_party_sqlite_BUILD_gn,v 1.11 2019/09/23 07:18:04 robert Exp $

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