DORMANTno replies

[PATCH] tc/q_atm.so: respect LDFLAGS

From: Mike Frysinger <hidden>
Date: 2009-01-17 17:07:29
Subsystem: the rest · Maintainer: Linus Torvalds

The q_atm.so target defines its own link target, but it doesn't respect the
$(LDFLAGS) variable.

Signed-off-by: Mike Frysinger <redacted>
---
 tc/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tc/Makefile b/tc/Makefile
index bd9b833..2a28363 100644
--- a/tc/Makefile
+++ b/tc/Makefile
@@ -86,7 +86,7 @@ clean:
 	rm -f emp_ematch.yacc.output
 
 q_atm.so: q_atm.c
-	$(CC) $(CFLAGS) -shared -fpic -o q_atm.so q_atm.c -latm
+	$(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o q_atm.so q_atm.c -latm
 
 %.yacc.c: %.y
 	$(YACC) $(YACCFLAGS) -o $@ $<
-- 
1.6.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help