configure.ac: disable C++ exceptions

We don't use exceptions currently.  Since allowing exceptions means a
lot of overhead, this commit disables the feature.
This commit is contained in:
Max Kellermann
2013-01-02 19:12:27 +01:00
parent 7768baa4d1
commit a6371e2e66
3 changed files with 6 additions and 10 deletions

View File

@@ -1541,6 +1541,7 @@ if test "x$enable_debug" = xno; then
AX_APPEND_COMPILE_FLAGS([-fvisibility=hidden])
AX_APPEND_COMPILE_FLAGS([-fno-threadsafe-statics])
AX_APPEND_COMPILE_FLAGS([-fmerge-all-constants])
AX_APPEND_COMPILE_FLAGS([-fno-exceptions])
AC_LANG_POP
AX_APPEND_LINK_FLAGS([-Wl,--gc-sections])