summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2020-06-25 04:12:00 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2020-06-25 04:12:00 +0000
commit59da407525f86238623eb7fd9fc1cbdbc3730665 (patch)
treefd10326353394060e265fe98f3fc65f85d7c97da /lib
parent092a24bbd5d8875ec88834a0b323bf14f4a78354 (diff)
disable altivec and vsx as it causes issues in qemu testing.
This probably should be backed out after fully debugged, vector instructions caused problems with debug configuration.
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/csu/Makefile b/lib/csu/Makefile
index 4f8b3712dc5..f5242bb8737 100644
--- a/lib/csu/Makefile
+++ b/lib/csu/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.33 2020/05/19 11:23:54 mortimer Exp $
+# $OpenBSD: Makefile,v 1.34 2020/06/25 04:11:59 drahn Exp $
OBJS= crt0.o gcrt0.o
OBJS+= crtbegin.o crtend.o
@@ -37,6 +37,10 @@ RCFLAGS+=-fno-stack-protector
RCFLAGS+=-fno-builtin
.endif
+.if ${MACHINE_CPU} == "powerpc64"
+RCFLAGS+= -mno-vsx -mno-altivec
+.endif
+
# Prevent use of jump tables in _dl_boot_bind().
.if ${MACHINE_CPU} == "mips64" || ${MACHINE_CPU} == "powerpc"
RCFLAGS+=-fno-jump-tables