configure.ac: disable C++ RTTI
RTTI adds overhead to the binary, and we don't need that.
This commit is contained in:
@@ -1542,6 +1542,7 @@ if test "x$enable_debug" = xno; then
|
||||
AX_APPEND_COMPILE_FLAGS([-fno-threadsafe-statics])
|
||||
AX_APPEND_COMPILE_FLAGS([-fmerge-all-constants])
|
||||
AX_APPEND_COMPILE_FLAGS([-fno-exceptions])
|
||||
AX_APPEND_COMPILE_FLAGS([-fno-rtti])
|
||||
AC_LANG_POP
|
||||
|
||||
AX_APPEND_LINK_FLAGS([-Wl,--gc-sections])
|
||||
|
Reference in New Issue
Block a user