summaryrefslogtreecommitdiff
path: root/sbin/restore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/restore/Makefile')
-rw-r--r--sbin/restore/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/restore/Makefile b/sbin/restore/Makefile
index 782f8d179422..a4a0926c9402 100644
--- a/sbin/restore/Makefile
+++ b/sbin/restore/Makefile
@@ -11,7 +11,7 @@ CLEANFILES+=dumprmt.o rtape.o rrestore
all: rrestore
rrestore: ${ROBJS} ${LIBC}
- ${CC} ${CFLAGS} -o ${.TARGET} ${ROBJS}
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${ROBJS}
rtape.o: tape.c ${LIBC}
${CC} ${CFLAGS} -c -DRRESTORE ${.CURDIR}/tape.c -o ${.TARGET}