]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
tc: respect LDFLAGS for %.so targets
authorMike Frysinger <vapier@gentoo.org>
Sat, 26 Dec 2009 19:52:36 +0000 (14:52 -0500)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Thu, 21 Jan 2010 18:05:39 +0000 (10:05 -0800)
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

index f3dd2b76e7a9b8f3055c823f32bdd139096c1c91..0b5d7d3e2f03d707b6abb4cf8cebb519b4d34d37 100644 (file)
@@ -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)