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