Index: configure
===================================================================
--- configure	(revision 37696)
+++ configure	(working copy)
@@ -2847,6 +2847,12 @@
   cflag_check -Wdisabled-optimization && WARN_CFLAGS="-Wdisabled-optimization $WARN_CFLAGS"
   cflag_check -Wmissing-prototypes && WARN_CFLAGS="-Wmissing-prototypes $WARN_CFLAGS"
   cflag_check -Wstrict-prototypes && WARN_CFLAGS="-Wstrict-prototypes $WARN_CFLAGS"
+
+  # These may hinder debugging, but result in a significantly smaller binary on gcc.
+  if test "$_crash_debug" = no && test "$_debug" = ""; then
+    cflag_check -fno-unwind-tables && CFLAGS="$CFLAGS -fno-unwind-tables"
+    cflag_check -fno-asynchronous-unwind-tables && CFLAGS="$CFLAGS -fno-asynchronous-unwind-tables"
+  fi
 fi
 
 cflag_check -mno-omit-leaf-frame-pointer && cflags_no_omit_leaf_frame_pointer="-mno-omit-leaf-frame-pointer"
