|
From: | Gary V . Vaughan |
Subject: | Re: Propagate $compiler_flags |
Date: | Fri, 3 Sep 2004 08:52:21 +0100 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Albert, On 3 Sep 2004, at 08:34, Albert Chin wrote:
On Thu, Sep 02, 2004 at 09:31:31PM -0500, Albert Chin wrote:At the moment, building a 64-bit libtool on HP-UX means you have to CC="cc +DD64". The patch above makes it possible with CC=cc CFLAGS="+DD64" but then any time you use $LTCC, you must pass +DD64 to create 64-bit objects. I am hoping libtool doesn't have to recognize options like these (-64 and -mips[0-9] for IRIX, -xarch=*|-xtarget=* for Solaris, +DA* and +DD* for HP-UX, etc.). One possibility is to save the initial $CFLAGS when creating libtool and use it when calling $LTCC.I created LTCFLAGS, similar to LTCC, and that seems like a clean solution. I'll submit a patch soon.
Agreed. 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) iD8DBQFBOCK+FRMICSmD1gYRAnwDAJ9O0oLAO3MeE/tSlnbyAaKRd1sUmgCfXNnA iADw3B7AeQdKWdLtKGtVU0w= =nVLR -----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |