git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] config.mak.in: Pass on LDFLAGS from configure

From
Andreas Färber <andreas.faerber@web.de>
Date
Aug 22, 2008, 11:56 UTC
Message-ID
<7F6886CA-D061-403D-9611-B4E7D587EBCF@web.de>
In-Reply-To
<20080821193823.GA13293@janet.wally>
Am 21.08.2008 um 21:38 schrieb Neil Roberts:
Show 7 quoted lines
> The configure script allows you to specify flags to pass to the linker
> step in the LDFLAGS environment variable but this was being ignored in
> the Makefile. Now a make variable gets set to the value passed down
> from the configure script.
>
> Signed-off-by: Neil Roberts <bpeeluk@yahoo.co.uk>
> ---
Show 13 quoted lines
> diff --git a/config.mak.in b/config.mak.in
> index b776149..f67d673 100644
> --- a/config.mak.in
> +++ b/config.mak.in
> @@ -3,6 +3,7 @@
>
> CC = @CC@
> CFLAGS = @CFLAGS@
> +LDFLAGS = @LDFLAGS@
> AR = @AR@
> TAR = @TAR@
> #INSTALL = @INSTALL@		# needs install-sh or install.sh in sources
> --

configure also uses CPPFLAGS for preprocessor options like -I/my/path, which are dropped as well. Could we fold them into CFLAGS while we're at it?

Andreas
Previous: Neil Roberts
Message 2 of 2 in “config.mak.in: Pass on LDFLAGS from configure”
  1. config.mak.in: Pass on LDFLAGS from configureNeil Roberts, Aug 21, 2008
  2. Andreas FärberAug 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.