libgcj.spec.in (jc1): Add BACKTRACESPEC.

2003-02-03  Andrew Haley  <aph@redhat.com>

	* libgcj.spec.in (jc1): Add BACKTRACESPEC.
        * configure.host (x86_64): Default to -fno-omit-frame-pointer.
        * configure.in (BACKTRACESPEC): New.
        * configure: Regenerate.

From-SVN: r62316
This commit is contained in:
Andrew Haley 2003-02-03 15:59:48 +00:00 committed by Andrew Haley
parent 7393205f69
commit 4b445d7cfb
5 changed files with 367 additions and 352 deletions

View File

@ -1,3 +1,10 @@
2003-02-03 Andrew Haley <aph@redhat.com>
* libgcj.spec.in (jc1): Add BACKTRACESPEC.
* configure.host (x86_64): Default to -fno-omit-frame-pointer.
* configure.in (BACKTRACESPEC): New.
* configure: Regenerate.
2003-02-02 Tom Tromey <tromey@redhat.com>
* configure: Rebuilt.

699
libjava/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -98,7 +98,7 @@ case "${host}" in
x86_64-*)
CHECKREFSPEC="%{m32:-fcheck-references}"
sysdeps_dir=x86-64
libgcj_flags="${libgcj_flags} -ffloat-store"
libgcj_flags="${libgcj_flags} -ffloat-store -fno-omit-frame-pointer"
libgcj_interpreter=no
libgcj_cxxflags="-D__NO_MATH_INLINES"
libgcj_cflags="-D__NO_MATH_INLINES"

View File

@ -1019,6 +1019,15 @@ if test "$enable_sjlj_exceptions" = yes; then
SIGNAL_HANDLER=include/default-signal.h
fi
# Define here any compiler flags that you need in order to make backtrace() work.
BACKTRACESPEC=
case "${host}" in
x86_64*-*-linux*)
BACKTRACESPEC=-fno-omit-frame-pointer
;;
esac
AC_SUBST(BACKTRACESPEC)
AC_SUBST(SYSDEP_SOURCES)
AC_LINK_FILES($SIGNAL_HANDLER, include/java-signal.h)

View File

@ -6,4 +6,4 @@
%rename lib liborig
*lib: -lgcj -lm @LIBICONV@ @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(libgcc) %(liborig)
*jc1: @HASH_SYNC_SPEC@ @DIVIDESPEC@ @CHECKREFSPEC@ @JC1GCSPEC@ @EXCEPTIONSPEC@ -fkeep-inline-functions
*jc1: @HASH_SYNC_SPEC@ @DIVIDESPEC@ @CHECKREFSPEC@ @JC1GCSPEC@ @EXCEPTIONSPEC@ @BACKTRACESPEC@ -fkeep-inline-functions