Skip to contentSkip to conversation

tc/q_atm.so: respect LDFLAGS

PATCH New Mike Frysinger 1 participant 1 message May 29, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tc/q_atm.so: respect LDFLAGS

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

---
 tc/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tc/Makefile +1 -1
index bd9b833..2a28363 100644
@@ -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 $@ $<
Signature · 1 line
1.6.1