diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libstand/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile index ec5f27f..69e104b 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 |