dma - Honor LDFLAGS if specified in the environment
authorMatthias Schmidt <matthias@dragonflybsd.org>
Mon, 20 Sep 2010 08:35:13 +0000 (10:35 +0200)
committerMatthias Schmidt <matthias@dragonflybsd.org>
Mon, 20 Sep 2010 08:35:13 +0000 (10:35 +0200)
Author: Peter Pentchev <roam@ringlet.net>

libexec/dma/Makefile.plain

index 91d8d82..a24dba9 100644 (file)
@@ -45,4 +45,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}