Enable LTO without performance degradation
-flto
needs to be set via MOD_CXXFLAGS
passed to configure, not globally, since it must be overridden in specific compilation units to prevent performance degradation (due to unwanted mixture of optimization flags during link time).