Use alignment-safe code on non-i386 architectures.
This commit is contained in:
parent
da4faae106
commit
83d4b03c15
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user