summaryrefslogtreecommitdiffstats
path: root/usr.sbin/powerd/Makefile
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-01-03 21:32:02 +0000
committerdes <des@FreeBSD.org>2006-01-03 21:32:02 +0000
commitc5944732d82d8b2776786c7219fd7707310b5495 (patch)
treef94ff9a8e6687ae7926c8bab13a002a7e54e347e /usr.sbin/powerd/Makefile
parent9a6ec66269f2bbf12b49df2f37cd7859c013c323 (diff)
downloadFreeBSD-src-c5944732d82d8b2776786c7219fd7707310b5495.zip
FreeBSD-src-c5944732d82d8b2776786c7219fd7707310b5495.tar.gz
Don't use threads when there's no real reason to.
MFC after: 2 weeks
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