blob: 5890a421bedacf96ddf809c3d54bd0a15eb5c09e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- third_party/sqlite/BUILD.gn.orig 2018-06-13 00:11:05.000000000 +0200
+++ third_party/sqlite/BUILD.gn 2018-07-19 20:59:10.723249000 +0200
@@ -155,7 +155,7 @@
# sqlite3Fts3InitTok).
cflags += [ "-Wno-unused-function" ]
}
- if (is_linux) {
+ if (is_linux && !is_bsd) {
cflags += [
# SQLite doesn"t believe in compiler warnings,
# preferring testing.
@@ -208,7 +208,7 @@
}
}
- if (is_linux || is_android) {
+ if ((is_linux && !is_bsd) || is_android) {
defines += [
# Linux provides fdatasync(), a faster equivalent of fsync().
"fdatasync=fdatasync",
@@ -243,7 +243,7 @@
":sqlite_warnings",
]
- if (is_linux) {
+ if (is_linux && !is_bsd) {
libs = [ "dl" ]
} else if (is_mac || is_ios) {
libs = [ "CoreFoundation.framework" ]
|