Skip to:
If CLANG used on Linux boost library is compiled with libstdc++ instead of libc+. So we should only set "-stdlib=libc+" on OS X
No, don't replace. Add both.
Also replace "-Wno-inconsistent-missing-override" with "-Wno-unknown-warning-option" to support legacy clang such as 4.2.0 on OS X 10.7.5.
If CLANG used on Linux boost library is compiled with libstdc++ instead of libc+. So we should only set "-stdlib=libc+" on OS X