This is usually a property of CXXFLAGS passed to configure.