From ebb728aadbff63eadbb06599ca7bb1d34d380d80 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 5 Jul 2007 09:41:55 +0000 Subject: [PATCH] Don't apply -fcoalesce-templates to all versions, just to the one being initialized. Thanks to Arvid Norberg for the bug report. [SVN r38146] --- src/tools/darwin.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/darwin.jam b/src/tools/darwin.jam index e3def2490..8decaf5a4 100644 --- a/src/tools/darwin.jam +++ b/src/tools/darwin.jam @@ -39,7 +39,7 @@ rule init ( version ? : command * : options * ) local gccversion = [ SHELL "$(command) -dumpversion" ] ; if $(gccversion) < "4.0.0" { - flags darwin.compile.c++ OPTIONS : -fcoalesce-templates ; + flags darwin.compile.c++ OPTIONS $(condition) : -fcoalesce-templates ; } gcc.init-link-flags darwin darwin $(condition) ;