]> git.puffer.fish Git - mirror/frr.git/commitdiff
configure: Add `-funwind-tables` 1041/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 24 Aug 2017 16:16:24 +0000 (12:16 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 28 Aug 2017 23:01:15 +0000 (19:01 -0400)
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>
configure.ac

index ec0419048558e53076be77960bb74390c3598fbd..f6f38b47cf1d865ff37ae4d59fcd4c9427e4962d 100755 (executable)
@@ -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])