aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-06-05 13:42:30 +0200
committerDuncaen <mail@duncano.de>2016-06-05 14:00:53 +0200
commite939687b7a7aa2258ec27b819b87e33e80a7fa20 (patch)
tree3f1553c9733746b521df42131fde3de567931766
parent7f11114f0f07c653e0ea3d4ae093d7dcdda4a4ef (diff)
downloadopendoas-e939687b7a7aa2258ec27b819b87e33e80a7fa20.tar.gz
fix ld and cflags
-rw-r--r--bsd.prog.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd.prog.mk b/bsd.prog.mk
index 0256856..f5b3efe 100644
--- a/bsd.prog.mk
+++ b/bsd.prog.mk
@@ -2,7 +2,7 @@
default: ${PROG}
-CFLAGS += -I${CURDIR}/libopenbsd ${COPTS} -MD -MP
+CFLAGS += -I${CURDIR}/libopenbsd ${COPTS} -MD -MP -Wno-unused-result
include config.mk
@@ -14,7 +14,7 @@ libopenbsd.a: ${OPENBSD}
${AR} -r $@ $?
${PROG}: ${OBJS} libopenbsd.a
- ${CC} ${CFLAGS} ${LDFLAGS} $^ -o $@
+ ${CC} ${CFLAGS} $^ -o $@ ${LDFLAGS}
install: ${PROG} ${PAM_DOAS} ${MAN}
mkdir -p -m 0755 ${DESTDIR}${BINDIR}