summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/tcpdump/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/Makefile b/usr.sbin/tcpdump/Makefile
index bf26fef7ce5..71ec3e84a8f 100644
--- a/usr.sbin/tcpdump/Makefile
+++ b/usr.sbin/tcpdump/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 1996/12/12 16:23:03 bitblt Exp $
+# $OpenBSD: Makefile,v 1.7 1997/07/06 14:39:50 niklas Exp $
# $NetBSD: Makefile,v 1.6 1995/03/07 23:18:39 mycroft Exp $
#
# Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994
@@ -25,6 +25,9 @@ PROG= tcpdump
MAN= tcpdump.8
CFLAGS+=-DCSLIP -DPPP -DFDDI -DETHER_SERVICE -DRETSIGTYPE=void
+.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "mips") || (${MACHINE_ARCH} == "sparc")
+CFLAGS+=-DLBL_ALIGN
+.endif
LDADD+= -lpcap -ll
DPADD+= ${LIBL} ${LIBPCAP}