From 0d34b2f7692aba066213c038b810623c216b6980 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Nov 2017 11:42:35 +0200 Subject: Add {c,cxx}.class variables Compiler class describes a set of compilers that follow more or less the same command line interface. Compilers that don't belong to any of the existing classes are in classes of their own (say, Sun CC would be on its own if we were to support it). Currently defined compiler classes: gcc gcc, clang, clang-apple, icc (on non-Windows) msvc msvc, clang-cl, icc (Windows) --- build2/buildfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/buildfile') diff --git a/build2/buildfile b/build2/buildfile index ce75f07..9294738 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -28,7 +28,7 @@ else else stack_size = 4194304 # 4M - if ($cxx.id == 'msvc') + if ($cxx.class == 'msvc') cxx.loptions += "/STACK:$stack_size" else cxx.loptions += "-Wl,--stack,$stack_size" -- cgit v1.1