From 65d67cc4d9ee4f8c74b3e516bf4478e2249f33c1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 6 Oct 2019 21:47:28 +0300 Subject: Adapt for building with Clang on Windows --- libpkgconf/build/root.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpkgconf/build') diff --git a/libpkgconf/build/root.build b/libpkgconf/build/root.build index 5536426..ec33c38 100644 --- a/libpkgconf/build/root.build +++ b/libpkgconf/build/root.build @@ -11,8 +11,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 -} -- cgit v1.1