]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Honor LDFLAGS if specified in the environment.
authorPeter Pentchev <roam@ringlet.net>
Tue, 22 Jun 2010 23:40:41 +0000 (01:40 +0200)
committerSimon Schubert <2@0x2c.org>
Mon, 28 Jun 2010 22:50:56 +0000 (00:50 +0200)
Makefile

index 2b248749e4767c164dbf89cab7ffe919905bf214..790a86a467b2727b52c0f85abd9b1ebebdccc435 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,4 +59,4 @@ aliases_scan.c: aliases_scan.l
        ${CC} ${CFLAGS} ${CPPFLAGS} -include dfcompat.h -o $@ -c $<
 
 dma: ${OBJS}
-       ${CC} ${LDADD} -o $@ ${OBJS}
+       ${CC} ${LDFLAGS} ${LDADD} -o $@ ${OBJS}