1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Add '-fno-builtin' to CFLAGS for alpha.

Builtin memcpy is not align-aware.

Approved by: jkh
This commit is contained in:
Hidetoshi Shimokawa 1999-01-13 10:27:00 +00:00
parent 15401862e4
commit a911876b48
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42624

View File

@ -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}