summaryrefslogtreecommitdiff
path: root/libmysqlclient/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-07 22:41:10 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-08 17:52:04 +0300
commitf1d5f23b7f4aa8ceab460df30448bc4f21f74bcc (patch)
treedac3a717d7cad8af2f06f1a7ec61e5b4fac26b4d /libmysqlclient/build/root.build
parentc0a087e38ae44580290a80e617ee8e95bb1289ee (diff)
Release version 8.0.15+3v8.0.15+3
Adapt for building with Clang on Windows
Diffstat (limited to 'libmysqlclient/build/root.build')
-rw-r--r--libmysqlclient/build/root.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmysqlclient/build/root.build b/libmysqlclient/build/root.build
index 04449b6..dbecc7f 100644
--- a/libmysqlclient/build/root.build
+++ b/libmysqlclient/build/root.build
@@ -16,8 +16,8 @@ using cxx
hxx{*}: extension = h
cxx{*}: extension = cc
-if ($c.class == 'msvc')
-{
+if ($c.target.system == 'win32-msvc')
cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
+if ($c.class == 'msvc')
cc.coptions += /wd4251 /wd4275 /wd4800
-}