$OpenBSD: patch-third_party_sqlite_BUILD_gn,v 1.7 2019/04/17 11:48:54 robert Exp $

Index: third_party/sqlite/BUILD.gn
--- third_party/sqlite/BUILD.gn.orig
+++ third_party/sqlite/BUILD.gn
@@ -251,7 +251,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
