diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-07-06 14:39:51 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-07-06 14:39:51 +0000 |
commit | 18e2d635ac8b6905088ab53e98c3d300f656a2ef (patch) | |
tree | 355f414233e14bcd033b57c17cb0f6603b4cb1d8 /usr.sbin | |
parent | 9d256064c4c28201b0c2319324e7c8a9b3a9f3f2 (diff) |
Some architectures need strict alignment
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/tcpdump/Makefile | 5 |
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} |