Disable gcc's builtin memcpy for alpha since it doesn't cope with unaligned
regions properly and this triggers an unaligned access trap.
This commit is contained in:
parent
134e06fe71
commit
69beb1913e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38865
@ -1,11 +1,14 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.5 1997/12/16 15:03:14 bde Exp $
|
||||
|
||||
PROG= ping
|
||||
MAN8= ping.8
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
COPTS+= -Wall -Wmissing-prototypes
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
COPTS+= -fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
|
||||
.endif
|
||||
DPADD= ${LIBM}
|
||||
LDADD= -lm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user