This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, Libjava] modify libgcc spec rather than lib.


While we're looking at library ordering,

on darwin we use %G %L - rather than the more usual %L %G %L.

It strikes me that the following spec would be cleaner for both cases,
what do you think?
Iain



Index: libjava/libgcj.spec.in
===================================================================
--- libjava/libgcj.spec.in	(revision 163330)
+++ libjava/libgcj.spec.in	(working copy)
@@ -6,7 +6,7 @@
 %rename startfile startfileorig
 *startfile: @THREADSTARTFILESPEC@ %(startfileorig)

-%rename lib liborig
-*lib: @LD_START_STATIC_SPEC@ @LIBGCJ_SPEC@ @LD_FINISH_STATIC_SPEC@ - lm @LIBICONV@ @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(libgcc) @LIBSTDCXXSPEC@ %(liborig)
+%rename libgcc liborig
+*libgcc: @LD_START_STATIC_SPEC@ @LIBGCJ_SPEC@ @LD_FINISH_STATIC_SPEC@ @LIBICONV@ @GCSPEC@ @THREADSPEC@ @SYSTEMSPEC@ @LIBSTDCXXSPEC@ @ZLIBSPEC@ %(liborig)


*jc1: @HASH_SYNC_SPEC@ @DIVIDESPEC@ @CHECKREFSPEC@ @JC1GCSPEC@ @EXCEPTIONSPEC@ @BACKTRACESPEC@ @IEEESPEC@ @ATOMICSPEC@ @LIBGCJ_BC_SPEC@ -fkeep-inline-functions


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]