Yes it is but the g++ mkspec is tailored for when there was only g++ hence it's linking to libstdc++ and not libc++. That mkspec is to be considered deprecated and not used anymore.