From: kettenis Date: Wed, 6 Sep 2023 09:12:49 +0000 (+0000) Subject: Remove -mabi=elfv2 option. This is the default for OpenBSD and clang 16 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=848795b17df6d7aac8fe7242132657e294ce39df;p=openbsd 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@ --- 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}