From f1d5f23b7f4aa8ceab460df30448bc4f21f74bcc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 7 Oct 2019 22:41:10 +0300 Subject: Release version 8.0.15+3 Adapt for building with Clang on Windows --- libmysqlclient/build/root.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmysqlclient/build/root.build') 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 -} -- cgit v1.1