mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue