Define if you want to use __cxa_atexit, rather than atexit, to register C++ destructors for local statics and global objects. This is essential for fully standards-compliant handling of destructors, but requires __cxa_atexit in libc. This option is currently only available on systems with GNU libc. When enabled, this will cause -fuse-cxa-atexit to be passed by default.
Removed unnecessary flags:
--enable-__cxa_atexit
is only needed for glibc:From https://gcc.gnu.org/install/configure.html:
--enable-checking=release
is enabled by default when GCC is being built from a release tarball (check https://gcc.gnu.org/install/configure.html)--enable-shared
is enabled by default--enable-lto
is enabled by default (check GCC configure script)--enable-plugins
is enabled by default (check GCC configure script)