aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-06-03 06:55:22 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-06-03 06:55:22 +0000
commitb9a30e80438983ff0b5a799a9c5f793d78b0b34d (patch)
tree77b3fbfb6a666a26efe010b668aa379c031c6050 /lib/libstand
parent28832e4b7973c204037046cf2ec4de97b81dcce0 (diff)
Notes
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index ec5f27fc593f..69e104be9572 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -18,8 +18,9 @@ CFLAGS+= -I${.CURDIR}
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mno-fp-regs
.endif
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
CFLAGS+= -mpreferred-stack-boundary=2
+CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2
.endif
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -msoft-float -D_STANDALONE