2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +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 3e9ed9b799
commit ebb728aadb

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