From 69beb1913e1af69682c33138475f22e54bfb7136 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sat, 5 Sep 1998 15:11:47 +0000 Subject: [PATCH] Disable gcc's builtin memcpy for alpha since it doesn't cope with unaligned regions properly and this triggers an unaligned access trap. --- sbin/ping/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile index 47708df39c8a..329129aba392 100644 --- a/sbin/ping/Makefile +++ b/sbin/ping/Makefile @@ -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