-# $OpenBSD: Makefile.amd64,v 1.133 2023/07/31 04:01:07 guenther Exp $
+# $OpenBSD: Makefile.amd64,v 1.134 2023/09/06 01:47:36 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
NO_INTEGR_AS= -no-integrated-as
CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion \
-Wno-unused-but-set-variable -Wno-gnu-folding-constant
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-CWARNFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
.endif
DEBUG?= -g
-# $OpenBSD: Makefile.inc,v 1.21 2023/02/23 19:48:21 miod Exp $
+# $OpenBSD: Makefile.inc,v 1.22 2023/09/06 01:47:36 jsg Exp $
CFLAGS=${DEBUG} ${COPTS} -Oz -Wall -Werror
CFLAGS+= -ffreestanding -fno-stack-protector -DMDRANDOM -DBOOT_STTY
.include <bsd.own.mk>
.if ${COMPILER_VERSION:Mclang}
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-CFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
NO_INTEGR_AS= -no-integrated-as
.endif
-# $OpenBSD: Makefile.arm64,v 1.46 2023/04/09 19:48:37 kettenis Exp $
+# $OpenBSD: Makefile.arm64,v 1.47 2023/09/06 01:47:36 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
-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= -march=armv8-a+nofp+nosimd \
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer \
-# $OpenBSD: Makefile,v 1.20 2023/03/05 16:21:52 kettenis Exp $
+# $OpenBSD: Makefile,v 1.21 2023/09/06 01:47:36 jsg Exp $
NOMAN= #
COPTS+= -ffreestanding -fno-stack-protector
COPTS+= -fshort-wchar -fPIC -fno-builtin
COPTS+= -Wall -Werror
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-COPTS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
PROG.elf= ${PROG:S/.EFI/.elf/}
CLEANFILES+= ${PROG.elf} ${PROG.elf}.tmp
-# $OpenBSD: Makefile.armv7,v 1.53 2022/12/30 06:44:35 jca Exp $
+# $OpenBSD: Makefile.armv7,v 1.54 2023/09/06 01:47:36 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
-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= -msoft-float -march=armv7a
CMACHFLAGS+= -ffreestanding ${NOPIE_FLAGS}
-# $OpenBSD: Makefile,v 1.19 2023/02/23 19:48:22 miod Exp $
+# $OpenBSD: Makefile,v 1.20 2023/09/06 01:47:37 jsg Exp $
NOMAN= #
COPTS+= -fshort-wchar -fPIC -fno-builtin
COPTS+= -Wall -Werror
COPTS+= -mfloat-abi=soft
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-COPTS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
PROG.elf= ${PROG:S/.EFI/.elf/}
CLEANFILES+= ${PROG.elf} ${PROG.elf}.tmp
-# $OpenBSD: Makefile.i386,v 1.143 2022/12/30 06:44:36 jca Exp $
+# $OpenBSD: Makefile.i386,v 1.144 2023/09/06 01:47:37 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
NO_INTEGR_AS= -no-integrated-as
CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion \
-Wno-unused-but-set-variable -Wno-gnu-folding-constant
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-CWARNFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
.endif
DEBUG?= -g
-# $OpenBSD: Makefile.inc,v 1.54 2023/02/23 19:48:22 miod Exp $
+# $OpenBSD: Makefile.inc,v 1.55 2023/09/06 01:47:37 jsg Exp $
CFLAGS=${DEBUG} ${COPTS} -Oz -Wall -Werror
CFLAGS+= -ffreestanding -fno-stack-protector -DMDRANDOM -DBOOT_STTY
.include <bsd.own.mk>
.if ${COMPILER_VERSION:Mclang}
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-CFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
NO_INTEGR_AS= -no-integrated-as
.endif
-# $OpenBSD: Makefile.loongson,v 1.83 2022/12/30 06:44:36 jca Exp $
+# $OpenBSD: Makefile.loongson,v 1.84 2023/09/06 01:47:37 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
CMACHFLAGS+= -fomit-frame-pointer
CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion \
-Wno-unused-but-set-variable -Wno-gnu-folding-constant
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-CWARNFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
.endif
DEBUG?= -g
-# $OpenBSD: Makefile.macppc,v 1.105 2022/12/30 06:44:36 jca Exp $
+# $OpenBSD: Makefile.macppc,v 1.106 2023/09/06 01:47:37 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
NO_INTEGR_AS= -no-integrated-as
CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion \
-Wno-unused-but-set-variable -Wno-gnu-folding-constant
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-CWARNFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
.endif
DEBUG?= -g
-# $OpenBSD: Makefile.octeon,v 1.62 2022/12/30 06:44:36 jca Exp $
+# $OpenBSD: Makefile.octeon,v 1.63 2023/09/06 01:47:37 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
CMACHFLAGS+= -fomit-frame-pointer
CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion \
-Wno-unused-but-set-variable -Wno-gnu-folding-constant
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-CWARNFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
.endif
DEBUG?= -g
-# $OpenBSD: Makefile.powerpc64,v 1.15 2023/01/01 01:34:33 jsg Exp $
+# $OpenBSD: Makefile.powerpc64,v 1.16 2023/09/06 01:47:37 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
-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
-# $OpenBSD: Makefile.riscv64,v 1.16 2022/12/30 06:44:36 jca Exp $
+# $OpenBSD: Makefile.riscv64,v 1.17 2023/09/06 01:47:37 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
-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= -march=rv64gc -mcmodel=medany -mno-relax \
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-# $OpenBSD: Makefile,v 1.5 2023/02/23 19:48:22 miod Exp $
+# $OpenBSD: Makefile,v 1.6 2023/09/06 01:47:37 jsg Exp $
NOMAN= #
COPTS+= -ffreestanding -fno-stack-protector
COPTS+= -fshort-wchar -fPIC -fno-builtin
COPTS+= -Wall -Werror
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-COPTS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
PROG.elf= ${PROG:S/.EFI/.elf/}
CLEANFILES+= ${PROG.elf} ${PROG.elf}.tmp
-# $OpenBSD: Makefile.sparc64,v 1.105 2022/12/30 06:44:36 jca Exp $
+# $OpenBSD: Makefile.sparc64,v 1.106 2023/09/06 01:47:38 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
CWARNFLAGS+= -Wno-unused-command-line-argument
CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion \
-Wno-unused-but-set-variable -Wno-gnu-folding-constant
-# XXX Workaround for zlib + clang 15
-# https://github.com/madler/zlib/issues/633
-CWARNFLAGS+= -Wno-deprecated-non-prototype -Wno-unknown-warning-option
.endif
DEBUG?= -g