summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2023-09-06 09:12:50 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2023-09-06 09:12:50 +0000
commit2ede3612c2763443d4e214e11bf88ef7d363017c (patch)
treef5fcabfb68f5d0ce2e015261cd83596b737d7109 /sys/arch
parenta0fb9b6e72deb56f06604f987cea86d6081757b0 (diff)
Remove -mabi=elfv2 option. This is the default for OpenBSD and clang 16
generates a (spurious) error about it in certain contexts. This is fixed in later versions (see https://reviews.llvm.org/D156351) but it is easier to just drop the option. ok miod@, jsg@
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 63637cff800..99cecd23366 100644
--- a/sys/arch/powerpc64/conf/Makefile.powerpc64
+++ b/sys/arch/powerpc64/conf/Makefile.powerpc64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.powerpc64,v 1.16 2023/09/06 01:47:37 jsg Exp $
+# $OpenBSD: Makefile.powerpc64,v 1.17 2023/09/06 09:12:49 kettenis Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -56,7 +56,7 @@ CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
-Wno-unused-but-set-variable -Wno-gnu-folding-constant \
-Wframe-larger-than=2047
-CMACHFLAGS= -mabi=elfv2 -msoft-float -mno-altivec -mno-vsx
+CMACHFLAGS= -msoft-float -mno-altivec -mno-vsx
CMACHFLAGS+= -ffreestanding
SORTR= sort -R
.if ${IDENT:M-DNO_PROPOLICE}