Neuter zlib fatal warnings when building kernels and bootloaders with clang 15
authorjca <jca@openbsd.org>
Fri, 30 Dec 2022 06:44:35 +0000 (06:44 +0000)
committerjca <jca@openbsd.org>
Fri, 30 Dec 2022 06:44:35 +0000 (06:44 +0000)
commit0d5d409d7a44f666524a908315193a724530b826
treeb51ed6120c0b274f347c09ada00ca269d2ed30a5
parentbf3df6a17ff84ef9529147ef6425639da65ff72a
Neuter zlib fatal warnings when building kernels and bootloaders with clang 15

Disable -Wdeprecated-non-prototype instead of patching zlib.  Upstream
plans to drop the pre-ANSI syntax soon.  ok tb@ millert@
15 files changed:
sys/arch/amd64/conf/Makefile.amd64
sys/arch/amd64/stand/Makefile.inc
sys/arch/arm64/conf/Makefile.arm64
sys/arch/arm64/stand/efiboot/Makefile
sys/arch/armv7/conf/Makefile.armv7
sys/arch/armv7/stand/efiboot/Makefile
sys/arch/i386/conf/Makefile.i386
sys/arch/i386/stand/Makefile.inc
sys/arch/loongson/conf/Makefile.loongson
sys/arch/macppc/conf/Makefile.macppc
sys/arch/octeon/conf/Makefile.octeon
sys/arch/powerpc64/conf/Makefile.powerpc64
sys/arch/riscv64/conf/Makefile.riscv64
sys/arch/riscv64/stand/efiboot/Makefile
sys/arch/sparc64/conf/Makefile.sparc64