Fix g++ 4.4 again

This commit is contained in:
Peter Dimov
2018-01-18 00:01:17 +02:00
parent 344df6c0a0
commit b494f307b5

View File

@ -25,11 +25,11 @@ project
{
local result ;
if <toolset-gcc:version>4.4 in $(properties)
if <toolset>gcc in $(properties)
{
result = <cxxflags>-std=c++98 ;
result = <cxxflags>-std=c++98 ; # 4.4 has no 03
}
else if <toolset>gcc in $(properties) || <toolset>clang in $(properties)
else if <toolset>clang in $(properties)
{
result = <cxxflags>-std=c++03 ;
}
@ -45,11 +45,11 @@ project
{
local result ;
if <toolset-gcc:version>4.4 in $(properties) || <toolset-gcc:version>4.6 in $(properties)
if <toolset>gcc in $(properties)
{
result = <cxxflags>-std=c++0x ;
result = <cxxflags>-std=c++0x ; # 4.6 has no 11
}
else if <toolset>gcc in $(properties) || <toolset>clang in $(properties)
else if <toolset>clang in $(properties)
{
result = <cxxflags>-std=c++11 ;
}