summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc64/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc64/conf')
-rw-r--r--sys/arch/powerpc64/conf/Makefile.powerpc645
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc64/conf/Makefile.powerpc64 b/sys/arch/powerpc64/conf/Makefile.powerpc64
index 8e1d768b591..79bac67fa4c 100644
--- a/sys/arch/powerpc64/conf/Makefile.powerpc64
+++ b/sys/arch/powerpc64/conf/Makefile.powerpc64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.powerpc64,v 1.13 2022/01/14 06:53:17 jsg Exp $
+# $OpenBSD: Makefile.powerpc64,v 1.14 2022/12/30 06:44:36 jca Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -51,6 +51,9 @@ CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
-Wno-constant-conversion -Wno-address-of-packed-member \
-Wno-unused-but-set-variable -Wno-gnu-folding-constant \
-Wframe-larger-than=2047
+# XXX Workaround for zlib + clang 15
+# https://github.com/madler/zlib/issues/633
+CWARNFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
CMACHFLAGS= -mabi=elfv2 -msoft-float -mno-altivec -mno-vsx
CMACHFLAGS+= -ffreestanding