2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Don't apply -fcoalesce-templates to all versions, just to

the one being initialized.

Thanks to Arvid Norberg for the bug report.


[SVN r38146]
This commit is contained in:
Vladimir Prus
2007-07-05 09:41:55 +00:00
parent 94dc045aae
commit 084cf8f1f5

View File

@@ -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) ;