Opened 11 years ago

Last modified 11 years ago

#6684 new Patches

clang-darwin: handle LTO in archives

Reported by: Bruno Santos <bsantos@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description


Attachments (2)

clang-libtool.patch (1.8 KB ) - added by Bruno Santos <bsantos@…> 11 years ago.
clang-libtool.2.patch (3.6 KB ) - added by Bruno Santos <bsantos@…> 11 years ago.

Download all attachments as: .zip

Change History (5)

by Bruno Santos <bsantos@…>, 11 years ago

Attachment: clang-libtool.patch added

by Bruno Santos <bsantos@…>, 11 years ago

Attachment: clang-libtool.2.patch added

comment:1 by saran.kris@…, 11 years ago

This patch would be really helpful.

Queries:
Will this libtool patch work for building "dynamic libraries" too ?
If so, how can we pass the "version information" and other parameters through config files ?

Thanks in advance.

comment:2 by Bruno Santos <bsantos@…>, 11 years ago

Hi,

you can use <arflags>

comment:3 by anonymous, 11 years ago

I applied the patch <clang-libtool.2.patch> over boost_1_49_0 version.
When I give the "<archiver>" option as "<archiver>/usr/bin/libtoo" in project-config.jam file, the build complains that "<archiver>" not a recognized property.

Can you please let me know how to configure the JAM file to use <archiver> option.
Moreover, I will have to apply this patch over to boost version 1_48. But, first I want to check if it works in 1_49_0

Thanks

Note: See TracTickets for help on using tickets.