From bc5d8f9abc3159fc7d5becf6e03456afcc7359bd Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 2 Jun 2005 07:46:25 +0000 Subject: [PATCH] Finally fix darwin's -fcoalesce-templates logic. Patch from Daniel Heck. [SVN r29365] --- src/tools/darwin.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/darwin.jam b/src/tools/darwin.jam index b98fc33a1..a2a8a775d 100644 --- a/src/tools/darwin.jam +++ b/src/tools/darwin.jam @@ -33,8 +33,8 @@ rule init ( version ? : command * : options * ) # is either: # # 1. We're not on 10.4 - # 2. We're on 10.4 and compiler is not g++-3.3 - if $(JAMUNAME[3]) < "8.0.0" || ! [ "(g[+][+]-3.3)" : $(command) ] + # 2. We're on 10.4 and compiler name is g++-3.3 + if $(JAMUNAME[3]) < "8.0.0" || [ MATCH "(g[+][+]-3.3)" : $(command) ] { flags darwin.compile.c++ OPTIONS : -fcoalesce-templates ; }