|
Boost-Build : |
From: Daniel Heck (dheck_at_[hidden])
Date: 2005-06-01 09:04:56
Vladimir,
> + local JAMUNAME = [ modules.peek : JAMUNAME ] ;
> +
> + # GCC 4.0, the default compiler in Darwin 8.0.0, does not have
> + # -fcoalesce-templates. GCC 3.3 needs it. So, we add '-fcoalesce-templates'
> + # 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) ]
> + {
> + flags darwin.compile.c++ OPTIONS : -fcoalesce-templates ;
> + }
> +
> gcc.init-link-flags darwin darwin $(condition) ;
> }
There's at least two problems with this patch:
1) the call to MATCH is missing
2) it should be "|| [ MATCH " ...
> + if $(JAMUNAME[3]) < "8.0.0" || [ MATCH "(g[+][+]-3.3)" : $(command) ]
with this edited patch, compilation works on Tiger.
Cheers,
Daniel
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk