summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-24 18:16:24 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-29 01:01:15 +0200
commitc594d99ffbda5f74ec3ecfc4589bf5dd3c6726d6 (patch)
treed5c3df77dc9d0be306da22cb2eddc790c1aaeb20 /configure.ac
parentMerge pull request #1065 from qlyoung/no-ospf6-router-id (diff)
downloadfrr-c594d99ffbda5f74ec3ecfc4589bf5dd3c6726d6.tar.xz
frr-c594d99ffbda5f74ec3ecfc4589bf5dd3c6726d6.zip
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ec0419048..f6f38b47c 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])