summaryrefslogtreecommitdiff
path: root/sqlite3
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3')
-rw-r--r--sqlite3/build/root.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlite3/build/root.build b/sqlite3/build/root.build
index 678c40e..50eec4a 100644
--- a/sqlite3/build/root.build
+++ b/sqlite3/build/root.build
@@ -6,11 +6,11 @@ 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
-}
# Specify the test target for cross-testing.
#