mirror of
https://github.com/boostorg/system.git
synced 2025-07-31 04:57:13 +02:00
Fix g++ 4.4 again
This commit is contained in:
@ -25,11 +25,11 @@ project
|
|||||||
{
|
{
|
||||||
local result ;
|
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 ;
|
result = <cxxflags>-std=c++03 ;
|
||||||
}
|
}
|
||||||
@ -45,11 +45,11 @@ project
|
|||||||
{
|
{
|
||||||
local result ;
|
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 ;
|
result = <cxxflags>-std=c++11 ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user