diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-06 21:47:28 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-06 21:47:28 +0300 |
commit | 65d67cc4d9ee4f8c74b3e516bf4478e2249f33c1 (patch) | |
tree | 1f4fed6a8cd7a2f2fbf75796039b176a79b043ea /libpkgconf/build | |
parent | 1e53fa691949998dfa711878ecb7863814f085ee (diff) |
Adapt for building with Clang on Windows
Diffstat (limited to 'libpkgconf/build')
-rw-r--r-- | libpkgconf/build/root.build | 6 |
1 files changed, 3 insertions, 3 deletions
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 -} |