On Tue, Dec 18, 2012 at 9:57 AM, Ian Lance Taylor <i...@google.com> wrote:
>
> This doesn't happen for me, and it's bizarre that libtool would turn a
> link against ../libatomic/libatomic.la into a link against -latomic.
> But in any case the fix is presumably going to be to add a convenience
> library for libatomic, as is done for libffi.  I'll prepare a patch
> for that.

Like so.

OK for mainline?

If this is approved, I will submit the changes to libgo to use it.

Ian


2012-12-18  Ian Lance Taylor  <i...@google.com>

        PR go/55201
        * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
        (libatomic_convenience_la_SOURCES): Likewise.
        (libatomic_convenience_la_LIBADD): Likewise.
        * Makefile.in: Rebuild.
        * testsuite/Makefile.in: Rebuild.

Attachment: foo.patch
Description: Binary data

Reply via email to