summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-06 18:53:15 (GMT)
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-06 18:53:15 (GMT)
commitf89375e91431e72076cf5e494410cba5ebde44be (patch)
tree397031261d2d14a164dbb16e9fd98f41e64dc98a
parenta882b1c4a2e95f982e4ef77d2889abbd6d912529 (diff)
Adapt for building with Clang on Windows
-rw-r--r--libsqlite3/build/root.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsqlite3/build/root.build b/libsqlite3/build/root.build
index 5146e5c..3bf2d0d 100644
--- a/libsqlite3/build/root.build
+++ b/libsqlite3/build/root.build
@@ -6,8 +6,8 @@ using c
h{*}: extension = h
c{*}: extension = c
-if ($c.class == 'msvc')
-{
+if ($c.target.system == 'win32-msvc')
c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
+if ($c.class == 'msvc')
c.coptions += /wd4251 /wd4275 /wd4800
-}