configure.ac: disable C++ RTTI

RTTI adds overhead to the binary, and we don't need that.
This commit is contained in:
Max Kellermann
2013-01-02 19:19:40 +01:00
parent a6371e2e66
commit 83c7e1e129
2 changed files with 5 additions and 1 deletions

View File

@@ -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])