summaryrefslogtreecommitdiff
path: root/libjava/configure.host
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-01 22:55:07 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-01 22:55:07 +0000
commit0d445359b765aef42707b04aab75066b9ae2c77e (patch)
tree3b4292de283ab69587e0f51e6df4fc93f2ddb5b2 /libjava/configure.host
parentf61df03ecb2a52f8f468790418f069b0fae4b06e (diff)
downloadgcc-0d445359b765aef42707b04aab75066b9ae2c77e.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100469 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.host')
-rw-r--r--libjava/configure.host8
1 files changed, 6 insertions, 2 deletions
diff --git a/libjava/configure.host b/libjava/configure.host
index aec0304692d..5f32bfbe5c4 100644
--- a/libjava/configure.host
+++ b/libjava/configure.host
@@ -69,6 +69,7 @@ echo "$target"
DIVIDESPEC=-fuse-divide-subroutine
EXCEPTIONSPEC=-fnon-call-exceptions
CHECKREFSPEC=
+BACKTRACESPEC=
# This case statement supports per-CPU defaults.
case "${host}" in
@@ -94,17 +95,18 @@ case "${host}" in
;;
i686-*|i586-*|i486-*|i386-*)
sysdeps_dir=i386
- libgcj_flags="${libgcj_flags} -ffloat-store -fno-omit-frame-pointer"
+ libgcj_flags="${libgcj_flags} -ffloat-store"
libgcj_interpreter=yes
libgcj_cxxflags=
libgcj_cflags=
DIVIDESPEC=-fno-use-divide-subroutine
+ BACKTRACESPEC=-fomit-frame-pointer
enable_hash_synchronization_default=yes
slow_pthread_self=yes
;;
x86_64-*)
sysdeps_dir=x86-64
- libgcj_flags="${libgcj_flags} -ffloat-store -fno-omit-frame-pointer"
+ libgcj_flags="${libgcj_flags} -ffloat-store"
libgcj_cxxflags=
libgcj_cflags=
DIVIDESPEC=-f%{m32:no-}use-divide-subroutine
@@ -266,6 +268,8 @@ esac
case "${host}" in
*-cygwin* | *-mingw*)
fallback_backtrace_h=sysdep/i386/backtrace.h
+ # We need a frame pointer on Windows, so override BACKTRACESPEC
+ BACKTRACESPEC=
;;
esac