summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-06-14 16:49:22 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-06-14 16:49:22 +0000
commitb21795d3e7c90fb7dd132279d7e39d184068c8bd (patch)
treec9178ef0dadc70feca9b4a98224bc31f5f4b8a13 /sys/arch
parente962591c424adb7eb95b1d339196f141120f3070 (diff)
Add -msoft-float, -mno-altivec and -mno-vsx to the compiler flags.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/powerpc64/conf/Makefile.powerpc644
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/conf/Makefile.powerpc64 b/sys/arch/powerpc64/conf/Makefile.powerpc64
index 05a5ac38ade..e3329a1e6b5 100644
--- a/sys/arch/powerpc64/conf/Makefile.powerpc64
+++ b/sys/arch/powerpc64/conf/Makefile.powerpc64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.powerpc64,v 1.2 2020/05/27 22:22:04 gkoehler Exp $
+# $OpenBSD: Makefile.powerpc64,v 1.3 2020/06/14 16:49:21 kettenis Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -47,7 +47,7 @@ CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
-Wno-constant-conversion -Wno-address-of-packed-member \
-Wframe-larger-than=2047
-CMACHFLAGS= -mabi=elfv2
+CMACHFLAGS= -mabi=elfv2 -msoft-float -mno-altivec -mno-vsx
CMACHFLAGS+= -ffreestanding
SORTR= sort -R
.if ${IDENT:M-DNO_PROPOLICE}