bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osf5.1 + cc + -pthread


From: Peter O'Gorman
Subject: Re: osf5.1 + cc + -pthread
Date: Fri, 03 Dec 2004 00:17:12 +0900
User-agent: Mozilla Thunderbird 0.9 (Macintosh/20041103)

Mark Andrews wrote:
alphaev6-dec-osf5.1

        I should be able to though some of the test machines are slow.


Hi Mark,
Thank you, just alphaev6-dec-osf5.1 with the -pthread flag will make me happy enough.

This is against ltmain.in, but it should apply with fuzz to your ltmain.sh,

Thank you,
Peter
--
Peter O'Gorman - http://www.pogma.com
? .patch_number
? 10-peter-ltdl-undo-weirdness
? 10-peter-ltdl-undo-weirdness.patch
? 11-peter-darwin-cleanup.patch
? 12-peter-darwin-reload-commands.patch
? 13-peter-b15-xlc-darwin.patch
? 14-peter-b15-backport-func_extract_archives.patch
? 15-peter-b15-cdpath.patch
? 16-peter-b15-cachedsed.patch
? 17-peter-b15-no-all_load.patch
? 18-peter-b15-bsd-sysclt-cmd-len.patch
? 19-peter-b15-jakemsr.patch
? 20-peter-b15-config_shell.patch
? 21-peter-b15-check-cxx-before-cxxxpp.patch
? 22-peter-cleanup_linux_pass_all.patch
? 23-peter-b15-automake_warnings.patch
? 24-peter-working_number_check.patch
? 5-peter-egrep-b15.patch
? 6-peter-darwin_wrong_link_order_b15.patch
? 6-peter-onehook.patch
? 7-peter-onehook.patch
? 8-peter-b15-libltdl-makefile-am-mods.patch
? 9-peter-libs-libs-fix.patch
? autom4te.cache
? bababa.diff
? bababa1.diff
? bababa2.diff
? bahhh.diff
? cdrdao-1.1.7.src.tar.bz2
? COPYING
? cr.diff
? crap11111.diff
? desffid
? diffdiddit
? Fetchdir
? flunn.pair.com
? foo.f
? foo.loT
? INSTALL
? install-sh
? libtool-1.5.10.tar.gz
? libtool-1.5.10.tar.gz.directive.asc
? libtool-1.5.10.tar.gz.sig
? libtool-1.5.2.tar.gz
? libtool-1.5.4.tar.gz
? libtool-1.5.5a.tar.gz
? libtool-1.5.6-1.5.8.diff.gz
? libtool-1.5.6-1.5.8.diff.gz.directive.asc
? libtool-1.5.6-1.5.8.diff.gz.sig
? libtool-1.5.6-1.5.8.xdelta
? libtool-1.5.6-1.5.8.xdelta.directive.asc
? libtool-1.5.6-1.5.8.xdelta.sig
? libtool-1.5.6.tar.gz
? libtool-1.5.7a.tar.gz
? libtool-1.5.8-1.5.10.diff.gz
? libtool-1.5.8-1.5.10.diff.gz.directive.asc
? libtool-1.5.8-1.5.10.diff.gz.sig
? libtool-1.5.8-1.5.10.xdelta
? libtool-1.5.8-1.5.10.xdelta.directive.asc
? libtool-1.5.8-1.5.10.xdelta.sig
? libtool-1.5.8.tar.gz
? libtool-1.5.8.tar.gz.directive.asc
? libtool-1.5.8.tar.gz.sig
? ltmain.ldlinkerbroken.diff
? manual.html
? missing
? openjade-p1.patch
? osf.diff
? peb.diff
? recent_20040812.diff
? rozinante.opendarwin.org
? shorter-gary.patch
? teststs.sh
? work_without_cxxcompiler.diff
? cdemo/autom4te.cache
? cdemo/conf26587.sh
? demo/autom4te.cache
? demo/hell_static
? depdemo/autom4te.cache
? depdemo/conf22463.sh
? depdemo/depdemo_static
? doc/manual.html
? f77demo/autom4te.cache
? f77demo/config-h.in
? f77demo/cprogram
? f77demo/fprogram
? f77demo/stamp-h1
? libltdl/autom4te.cache
? libltdl/config-h.in
? libltdl/install-sh
? libltdl/ltmain.sh
? libltdl/missing
? mdemo/autom4te.cache
? mdemo/mdemo_static
? mdemo2/autom4te.cache
? pdemo/autom4te.cache
? pdemo/hell_static
? tagdemo/autom4te.cache
? tests/ch.log
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.40
diff -u -3 -p -u -r1.334.2.40 ltmain.in
--- ltmain.in   29 Nov 2004 16:55:35 -0000      1.334.2.40
+++ ltmain.in   2 Dec 2004 15:14:58 -0000
@@ -1488,7 +1488,10 @@ EOF
        ;;
 
      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
-       deplibs="$deplibs $arg"
+       case "$archive_cmds" in
+         *"\$LD"*) ;;
+         *) deplibs="$deplibs $arg";;
+       esac
        continue
        ;;
 
@@ -1976,7 +1979,10 @@ EOF
            compile_deplibs="$deplib $compile_deplibs"
            finalize_deplibs="$deplib $finalize_deplibs"
          else
-           deplibs="$deplib $deplibs"
+           case "$archive_cmds" in
+             *"\$LD"*) ;;
+             *) deplibs="$deplibs $arg";;
+           esac
          fi
          continue
          ;;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]