Francois Tigeot píše v Út 05. 04. 2011 v 13:51 +0200:
On Tue, Apr 05, 2011 at 11:53:55AM +0100, Michael Meeks wrote:
I guess it might be a good idea to default to 'auto' for hash-style,
and compile and link a small test program with that, defaulting to 'gnu'
if that is supported, and no flag if not. Should be fairly easy to do
that with an AC_TRY_RUN (?).
That would be *much* better.
It sounds like the best solution.
Francois, would you be able to cook up something, please? If it is
enough to use AC_TRY_RUN, you might find some samples in
bootstrap/configure.in. If you want to require a minimal binutils
version, you might take inspiration at
http://cgit.freedesktop.org/libreoffice/build/tree/patches/dev300/link-as-needed.diff
Best Regards,
Petr
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.