summaryrefslogtreecommitdiff
path: root/libjava/libgcj.spec.in
diff options
context:
space:
mode:
authorrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-05 02:15:51 +0000
committerrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-05 02:15:51 +0000
commit621f785f3df099453294bb6ea97b9896ff45e77c (patch)
tree0a98e27f40c056a0c593499932dea332859cbd04 /libjava/libgcj.spec.in
parentd03ad30f9009d648232ad5db3fe7f9a66d9e881f (diff)
downloadgcc-621f785f3df099453294bb6ea97b9896ff45e77c.tar.gz
* libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
startfile. * configure.ac: Allow targets to affect the spec for startfile by specifying a THREADSTARTFILESPEC variable. Define this for the win32 threads package to include crtmt.o. * configure: Regenerate. * win32.cc (_CRT_MT): Remove definition. (__mingwthr_key_dtor): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/libgcj.spec.in')
-rw-r--r--libjava/libgcj.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/libgcj.spec.in b/libjava/libgcj.spec.in
index 0af8811b954..f48212509bf 100644
--- a/libjava/libgcj.spec.in
+++ b/libjava/libgcj.spec.in
@@ -3,6 +3,9 @@
# It is used to specify the standard libraries we need in order
# to link with libgcj.
#
+%rename startfile startfileorig
+*startfile: @THREADSTARTFILESPEC@ %(startfileorig)
+
%rename lib liborig
*lib: @LD_START_STATIC_SPEC@ -lgcj @LD_FINISH_STATIC_SPEC@ -lm @LIBICONV@ @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(libgcc) %(liborig)