summaryrefslogtreecommitdiffstats
path: root/usr.sbin/powerd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/powerd/Makefile')
-rw-r--r--usr.sbin/powerd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/powerd/Makefile b/usr.sbin/powerd/Makefile
index bf39dcd..6adb188 100644
--- a/usr.sbin/powerd/Makefile
+++ b/usr.sbin/powerd/Makefile
@@ -3,9 +3,12 @@
PROG= powerd
MAN= powerd.8
WARNS?= 6
-LDFLAGS+= -lpthread
DPADD= ${LIBUTIL}
LDADD= -lutil
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+=-DUSE_APM
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud