summaryrefslogtreecommitdiffstats
path: root/usr.sbin/traceroute
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>1999-01-13 10:27:00 +0000
committersimokawa <simokawa@FreeBSD.org>1999-01-13 10:27:00 +0000
commitc9b65ff0dd6a4ce2f7d373cc49e1d6e16f7ca32c (patch)
tree1a4964db8fd145173f70de4f06da0824febcfcb4 /usr.sbin/traceroute
parent26948ef460d032d3344543f599eb25305482e2a8 (diff)
downloadFreeBSD-src-c9b65ff0dd6a4ce2f7d373cc49e1d6e16f7ca32c.zip
FreeBSD-src-c9b65ff0dd6a4ce2f7d373cc49e1d6e16f7ca32c.tar.gz
Add '-fno-builtin' to CFLAGS for alpha.
Builtin memcpy is not align-aware. Approved by: jkh
Diffstat (limited to 'usr.sbin/traceroute')
-rw-r--r--usr.sbin/traceroute/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/traceroute/Makefile b/usr.sbin/traceroute/Makefile
index 3c799d8..e0d9724 100644
--- a/usr.sbin/traceroute/Makefile
+++ b/usr.sbin/traceroute/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.8 1998/06/09 05:36:48 imp Exp $
+# $Id: Makefile,v 1.9 1998/09/19 22:42:13 obrien Exp $
PROG= traceroute
MAN8= traceroute.8
@@ -14,6 +14,12 @@ SRCS= version.c traceroute.c
CLEANFILES+= version.c
TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute
+
+.if ${MACHINE_ARCH} == "alpha"
+# gcc builtin memcpy causes unaligned access
+CFLAGS+= -fno-builtin
+.endif
+
CFLAGS+= -I${TRACEROUTE_DISTDIR}/lbl
.PATH: ${TRACEROUTE_DISTDIR}
OpenPOWER on IntegriCloud