summaryrefslogtreecommitdiff
path: root/sys/conf/copts.mk
AgeCommit message (Collapse)Author
2023-06-03adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}lukem
Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of the older style more complex expressions.
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-06-03bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBERlukem
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2022-08-27sys/conf: fix typo in commentrillig
2021-04-12new GCC_NO_* uses for warning issues. most of the users of the newmrg
GCC_NO_RETURN_LOCAL_ADDR are bugs in GCC itself, not the code.
2020-03-07XXX:mrg
turn off -Wunused-but-set-variable for mips' linux_machdep.c and GCC 8.
2019-09-30convert HAVE_GCC == 7 to HAVE_GCC >= 7.mrg
2019-02-10mark pf.c, radeon_cs.c and via_dmablit.c for no fall thru error.mrg
this was already done in the various modules, but not in the main kernel.
2019-02-05be sure to only apply zlib.c's -Wno-error=implicit-fallthrough to GCC 7.mrg
push the setting into the rump and module version too.
2019-02-05pass -Wno-error=implicit-fallthrough for zlib.c.mrg
XXX: consider using copts.mk for various warning/copt flags passed in kernel builds currently set via 'makeoptions' in files.* files. this is suboptimal, as those all get embedded into the kernel with config_file.h.