diff options
author | Bill Fenner <fenner@FreeBSD.org> | 2001-07-26 21:54:47 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 2001-07-26 21:54:47 +0000 |
commit | 83d4b03c1594e61700b484caabeb59f2d4d65423 (patch) | |
tree | a2a6cd0ae8b8ad4cc7c6598fc2ad5f10c0c8b181 /usr.sbin/tcpdump | |
parent | da4faae1060c9f5fc76865e96a80c53feb8c95ce (diff) | |
download | src-83d4b03c1594e61700b484caabeb59f2d4d65423.tar.gz src-83d4b03c1594e61700b484caabeb59f2d4d65423.zip |
Use alignment-safe code on non-i386 architectures.
Notes
Notes:
svn path=/head/; revision=80413
Diffstat (limited to 'usr.sbin/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 05f9253288a9..81498f3dbeda 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 |