* [PATCH] tc: respect LDFLAGS for %.so targets
@ 2009-12-26 19:52 Mike Frysinger
2010-01-21 18:05 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2009-12-26 19:52 UTC (permalink / raw)
To: stephen.hemminger, netdev
Since there aren't any targets that currently use this pattern rule, this
is more of a proactive fix.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
tc/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tc/Makefile b/tc/Makefile
index f3dd2b7..0b5d7d3 100644
--- a/tc/Makefile
+++ b/tc/Makefile
@@ -87,7 +87,7 @@ YACC := bison
LEX := flex
%.so: %.c
- $(CC) $(CFLAGS) -shared -fpic $< -o $@
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic $< -o $@
all: libtc.a tc $(TCSO)
--
1.6.6.rc4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tc: respect LDFLAGS for %.so targets
2009-12-26 19:52 [PATCH] tc: respect LDFLAGS for %.so targets Mike Frysinger
@ 2010-01-21 18:05 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2010-01-21 18:05 UTC (permalink / raw)
To: Mike Frysinger; +Cc: stephen.hemminger, netdev
On Sat, 26 Dec 2009 14:52:36 -0500
Mike Frysinger <vapier@gentoo.org> wrote:
> Since there aren't any targets that currently use this pattern rule, this
> is more of a proactive fix.
>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
> tc/Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tc/Makefile b/tc/Makefile
> index f3dd2b7..0b5d7d3 100644
> --- a/tc/Makefile
> +++ b/tc/Makefile
> @@ -87,7 +87,7 @@ YACC := bison
> LEX := flex
>
> %.so: %.c
> - $(CC) $(CFLAGS) -shared -fpic $< -o $@
> + $(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic $< -o $@
>
>
> all: libtc.a tc $(TCSO)
applied
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-21 18:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-26 19:52 [PATCH] tc: respect LDFLAGS for %.so targets Mike Frysinger
2010-01-21 18:05 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).