[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lib-ignore: link error with Sun C++ compiler
From: |
Jim Meyering |
Subject: |
Re: lib-ignore: link error with Sun C++ compiler |
Date: |
Mon, 29 Mar 2010 08:51:45 +0200 |
Bruno Haible wrote:
>> * Bruno Haible wrote on Sat, Mar 20, 2010 at 11:52:25PM CET:
>> > lib-ignore: Determine different options for different compilers.
>> > * m4/lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Set a variable which
>> > depends on the current language (C/C++/Fortran). Don't set LDFLAGS.
>> > Add comments.
>> > (_gl_IGNORE_UNUSED_LIBRARIES_OPTIONS): New macro.
>> > * NEWS: Mention the change.
>
> I've committed this patch now, including Ralf's comments about libtool, below.
>
> Jim, for coreutils, I propose this patch:
>
> =============================================================================
> 2010-03-28 Bruno Haible <address@hidden>
>
> Update after change in gnulib's lib-ignore module.
> * src/Makefile.am (AM_LDFLAGS): New variable.
>
> --- src/Makefile.am.orig Sun Mar 28 11:31:05 2010
> +++ src/Makefile.am Sun Mar 28 11:30:27 2010
> @@ -170,6 +170,9 @@
> noinst_LIBRARIES = libver.a
> nodist_libver_a_SOURCES = version.c version.h
>
> +# Tell the linker to omit references to unused shared libraries.
> +AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
Thanks, Bruno.
I've pushed that, along with the analogous one to grep,
now that both projects are using updated gnulib.
- lib-ignore: link error with Sun C++ compiler, Bruno Haible, 2010/03/07
- Re: lib-ignore: link error with Sun C++ compiler, Ralf Wildenhues, 2010/03/08
- Re: lib-ignore: link error with Sun C++ compiler, Bruno Haible, 2010/03/14
- Re: lib-ignore: link error with Sun C++ compiler, Ralf Wildenhues, 2010/03/15
- Re: lib-ignore: link error with Sun C++ compiler, Bruno Haible, 2010/03/20
- Re: lib-ignore: link error with Sun C++ compiler, Ralf Wildenhues, 2010/03/21
- Re: lib-ignore: link error with Sun C++ compiler, Bruno Haible, 2010/03/21
- Re: lib-ignore: link error with Sun C++ compiler, Bruno Haible, 2010/03/28
- Re: lib-ignore: link error with Sun C++ compiler,
Jim Meyering <=