diff options
Diffstat (limited to 'libpkgconf/build/root.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 -} |