diff options
author | fenner <fenner@FreeBSD.org> | 2001-07-26 21:54:47 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2001-07-26 21:54:47 +0000 |
commit | 8f071fe2d98654686973245695748006ee86af0e (patch) | |
tree | a2a6cd0ae8b8ad4cc7c6598fc2ad5f10c0c8b181 /usr.sbin/tcpdump/tcpdump | |
parent | 4c9b335409a7103f1170eb3f2c3e813ef21cfd98 (diff) | |
download | FreeBSD-src-8f071fe2d98654686973245695748006ee86af0e.zip FreeBSD-src-8f071fe2d98654686973245695748006ee86af0e.tar.gz |
Use alignment-safe code on non-i386 architectures.
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile index 05f9253..81498f3 100644 --- a/usr.sbin/tcpdump/tcpdump/Makefile +++ b/usr.sbin/tcpdump/tcpdump/Makefile @@ -33,6 +33,9 @@ SRCS+= print-ip6.c print-ip6opts.c print-ripng.c print-icmp6.c \ print-frag6.c print-rt6.c print-ospf6.c print-dhcp6.c CFLAGS+= -DINET6 .endif +.if ${MACHINE_ARCH} != "i386" +CFLAGS+= -DLBL_ALIGN +.endif DPADD= ${LIBL} ${LIBPCAP} LDADD= -ll -lpcap |