configure.ac (BACKTRACESPEC): Remove definition, but continue to AC_SUBST definition from configure.host.

* configure.ac (BACKTRACESPEC): Remove definition, but continue to
	AC_SUBST definition from configure.host.
	* configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
	to -fomit-frame-pointer on 32-bit x86 targets.

From-SVN: r100469
This commit is contained in:
Bryce McKinlay 2005-06-01 22:55:07 +00:00 committed by Bryce McKinlay
parent ae263c7a36
commit 135709e82d
3 changed files with 14 additions and 11 deletions

View file

@ -1148,6 +1148,7 @@ AC_SUBST(ZINCS)
AC_SUBST(DIVIDESPEC)
AC_SUBST(CHECKREFSPEC)
AC_SUBST(EXCEPTIONSPEC)
AC_SUBST(BACKTRACESPEC)
AC_SUBST(IEEESPEC)
AM_CONDITIONAL(NATIVE, test "$NATIVE" = yes)
@ -1345,15 +1346,6 @@ if test "$enable_sjlj_exceptions" = yes; then
SIGNAL_HANDLER_AUX=
fi
# Define here any compiler flags that you need in order to make backtrace() work.
BACKTRACESPEC=
case "${host}" in
x86_64*-*-linux*|i?86-*)
BACKTRACESPEC=-fno-omit-frame-pointer
;;
esac
AC_SUBST(BACKTRACESPEC)
AC_SUBST(SYSDEP_SOURCES)
if test -z "$SIGNAL_HANDLER_AUX"; then