libtool-patches
[Top][All Lists]
Advanced

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

Re: Additional link flags for HP aCC and SGI CC


From: Gary V . Vaughan
Subject: Re: Additional link flags for HP aCC and SGI CC
Date: Sun, 5 Sep 2004 19:12:40 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Albert,

On 2 Sep 2004, at 23:20, Albert Chin wrote:

The following patch will pass all -[arg] and +[arg] switches through.
Is it safe?

-- snip snip
Index: config/ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.in,v
retrieving revision 1.12
diff -u -3 -p -r1.12 ltmain.in
--- config/ltmain.in    1 Sep 2004 09:48:25 -0000       1.12
+++ config/ltmain.in    2 Sep 2004 22:20:29 -0000
@@ -2985,6 +2985,10 @@ func_mode_link ()
          arg="\"$arg\""
          ;;
        esac
+
+       if test -z "$prev"; then
+         compiler_flags="$compiler_flags $arg"
+       fi
        ;;

       *.$objext)

Since my objections were purely philosophical, and have been debunked now, I've applied this patch to HEAD for the next alpha release... if it doesn't
cause problems, we should leave it in for 2.0.

Cheers,
        Gary.
- --
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFBO1cbFRMICSmD1gYRAit/AJ43sP5cZclwCSccBzpKpBtJ03anYgCgjqeq
gymAV3PUO8Ch9dSFi9R5IYw=
=TPdq
-----END PGP SIGNATURE-----





reply via email to

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