In 46ad3c2758 we standardised our linux builds to use -O1, but we didn't adjust the other targets.
46ad3c2758
Linux and mingw enable libstdc++ debugging for extra runtime checks. OSX doesn't play nice, so don't enable it there.
See the README's in depends for documentation