From a90eecb47438303ae3f6409276f8d9bb77c9f6fc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 6 Oct 2019 21:29:48 +0300 Subject: Adapt for building with Clang on Windows --- build2/buildfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2') diff --git a/build2/buildfile b/build2/buildfile index b8f7f95..44ec2a8 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -44,8 +44,8 @@ else else stack_size = 4194304 # 4M - cxx.loptions += ($cxx.class == 'msvc' \ - ? "/STACK:$stack_size" \ + cxx.loptions += ($cxx.target.system == 'win32-msvc' \ + ? "/STACK:$stack_size" \ : "-Wl,--stack,$stack_size") } -- cgit v1.1