[Top][All Lists]
[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: |
Sun, 16 Jan 2005 21:39:13 +0900 |
User-agent: |
Mozilla Thunderbird 1.0 (Macintosh/20041206) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter O'Gorman wrote:
|> Other than that, after my proposed changes:
|> - both patches have around the same size,
|> - I like the "inclusion because of $CC" argument
|> - but Albert's patch messes up the order of the arguments.
|> IIRC that's done anyway, right?
Okay to apply this? Yes I am an idiot for not doing this in the first place.
Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
iQCVAwUBQepgcLiDAg3OZTLPAQJatgQAuXTVKGysPDW/JL9ilkshzlt7621JKjG+
YnTyvggIQz7dRU0yrTm99IckYa8Z1jUu8OFxTUT/2za0sMRJKPF9A8vrkQSbyHtM
+RVMNkJCbV99gFRULDdZ3s3fAzdicPKCmExcDG09o3EPJXOH8cMIWaZMoWuNyyI4
bHyyhMkUEsQ=
=LQ++
-----END PGP SIGNATURE-----
Index: ChangeLog
* ltmain.in: Don't pass through compiler-like thread flags when
using $LD to do the linking. Use compiler_flags instead.
Reported by address@hidden
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.46
diff -u -3 -p -u -r1.334.2.46 ltmain.in
--- ltmain.in 28 Dec 2004 12:53:35 -0000 1.334.2.46
+++ ltmain.in 16 Jan 2005 12:34:47 -0000
@@ -1510,7 +1510,7 @@ EOF
;;
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
- deplibs="$deplibs $arg"
+ compiler_flags="$compiler_flags $arg"
continue
;;
@@ -1998,7 +1998,7 @@ EOF
compile_deplibs="$deplib $compile_deplibs"
finalize_deplibs="$deplib $finalize_deplibs"
else
- deplibs="$deplib $deplibs"
+ compiler_flags="$compiler_flags $deplib"
fi
continue
;;