GNU bug report logs - #10579
libtool-2.4.2: patch to accept -stdlib=* as linker flag

Previous Next

Package: libtool;

Reported by: Titus von Boxberg <titus <at> v9g.de>

Date: Sun, 22 Jan 2012 17:55:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Titus von Boxberg <titus <at> v9g.de>
To: 10579 <at> debbugs.gnu.org
Subject: bug#10579: libtool-2.4.2: patch to accept -stdlib=* as linker flag
Date: Sun, 22 Jan 2012 13:22:03 +0100
[Message part 1 (text/plain, inline)]
Hi,

to enable use of clang++ with the new libc++
(or to explicitely select the GNU libstdc++)
libtool should accept and pass the linker flag "-stdlib=*"

Attached is the patch and - as required on the web site + README -
the output of make -k check.
The tests were run on OSX 10.7 with llvm-gcc 4.2

I tested the patch itself by building cppunit
with CXXFLAGS and LDFLAGS set to "-stdlib=libc++".

Regards
Titus

[ltmain.m4sh-allow-clang-stdlib.diff (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]

[libtool-2.4.2-make-k_check.txt.gz (application/x-gzip, attachment)]
[Message part 5 (text/plain, inline)]


This bug report was last modified 13 years and 124 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.