summaryrefslogtreecommitdiff
path: root/libbacktrace/configure
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-02 13:14:25 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-02 13:14:25 +0000
commit536b8dd30297b5b8e10fa5d74ee48d3af41379ce (patch)
tree4548aab6374a9186b27c95bf34b16a067b584475 /libbacktrace/configure
parentf32c377d6fa1ec4d5c21ca055dd1b7b7c7b75c3a (diff)
downloadgcc-536b8dd30297b5b8e10fa5d74ee48d3af41379ce.tar.gz
PR other/54761
* configure.ac (EXTRA_FLAGS): New. * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS). * configure, Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191981 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace/configure')
-rwxr-xr-xlibbacktrace/configure11
1 files changed, 9 insertions, 2 deletions
diff --git a/libbacktrace/configure b/libbacktrace/configure
index 51a509cf028..8e2ea413cba 100755
--- a/libbacktrace/configure
+++ b/libbacktrace/configure
@@ -612,6 +612,7 @@ FORMAT_FILE
BACKTRACE_SUPPORTS_THREADS
PIC_FLAG
WARN_FLAGS
+EXTRA_FLAGS
BACKTRACE_FILE
multi_basedir
OTOOL64
@@ -11080,7 +11081,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11083 "configure"
+#line 11084 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11186,7 +11187,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11189 "configure"
+#line 11190 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11488,6 +11489,12 @@ fi
fi
+EXTRA_FLAGS=
+if test "x$GCC" = "xyes"; then
+ EXTRA_FLAGS=-funwind-tables
+fi
+
+
WARN_FLAGS=
save_CFLAGS="$CFLAGS"
for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \