From: Donald Sharp Date: Thu, 24 Aug 2017 16:16:24 +0000 (-0400) Subject: configure: Add `-funwind-tables` X-Git-Tag: frr-4.0-dev~366^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c594d99ffbda5f74ec3ecfc4589bf5dd3c6726d6;p=mirror%2Ffrr.git configure: Add `-funwind-tables` Certain platforms( ARM comes to mind ) in order to get a proper stack trace on crash you need to compile with this value. Since it only slightly increases the size of the binary for other platforms, I would consider it worthwhile to include this directive. Signed-off-by: Donald Sharp --- diff --git a/configure.ac b/configure.ac index ec04190485..f6f38b47cf 100755 --- a/configure.ac +++ b/configure.ac @@ -195,6 +195,7 @@ fi dnl always want these CFLAGS AC_C_FLAG([-fno-omit-frame-pointer]) +AC_C_FLAG([-funwind-tables]) AC_C_FLAG([-Wall]) AC_C_FLAG([-Wextra]) AC_C_FLAG([-Wmissing-prototypes])