tests: Added newline stripping from gcc -dumpversion output
git-svn-id: http://pugixml.googlecode.com/svn/trunk@430 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
806ce72862
commit
754e438db8
@ -15,7 +15,7 @@ if ( ! $(toolset) )
|
|||||||
{
|
{
|
||||||
if ( $(UNIX) )
|
if ( $(UNIX) )
|
||||||
{
|
{
|
||||||
local GCCVERSION = [ Shell "gcc -dumpversion" ] ;
|
local GCCVERSION = [ Subst [ Shell "gcc -dumpversion" ] : $(NEWLINE) ] ;
|
||||||
toolset = "gcc"$(GCCVERSION) ;
|
toolset = "gcc"$(GCCVERSION) ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user