From 6a64b3d90097f1cd7880ea6e6fa8f69ca654bd12 Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Sun, 16 Jan 2005 14:07:07 +0000 Subject: [PATCH] * ltmain.in: Don't pass through compiler-like thread flags when using $LD to do the linking. Use compiler_flags instead. Reported by Mark_Andrews@isc.org. --- ChangeLog | 4 ++++ ltmain.in | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a2ba10673..cdde89353 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-01-16 Peter O'Gorman + * ltmain.in: Don't pass through compiler-like thread flags when + using $LD to do the linking. Use compiler_flags instead. + Reported by Mark_Andrews@isc.org. + * libtool.m4 (LT_CMD_MAX_LEN) [osf]: On Tru64 there could be a kernel panic when testing the maximum command line length if exec_disable_arg_limit=1. Don't do the tests to figure it diff --git a/ltmain.in b/ltmain.in index 9b63369b2..ee326995f 100644 --- a/ltmain.in +++ b/ltmain.in @@ -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 ;; -- 2.47.3