From a6371e2e664e4bc1ff78d881cfd2c9b5fa3909e8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 2 Jan 2013 19:12:27 +0100 Subject: configure.ac: disable C++ exceptions We don't use exceptions currently. Since allowing exceptions means a lot of overhead, this commit disables the feature. --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ae242951..305b2130 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- cgit v1.2.3