Lines Matching refs:KBUILD_CFLAGS
10 KBUILD_CFLAGS += -Wall
11 KBUILD_CFLAGS += -Wundef
12 KBUILD_CFLAGS += -Werror=implicit-function-declaration
13 KBUILD_CFLAGS += -Werror=implicit-int
14 KBUILD_CFLAGS += -Werror=return-type
15 KBUILD_CFLAGS += -Werror=strict-prototypes
16 KBUILD_CFLAGS += -Wno-format-security
17 KBUILD_CFLAGS += -Wno-trigraphs
18 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
19 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
20 KBUILD_CFLAGS += -Wmissing-declarations
21 KBUILD_CFLAGS += -Wmissing-prototypes
24 KBUILD_CFLAGS += -Wframe-larger-than=$(CONFIG_FRAME_WARN)
29 KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds
33 KBUILD_CFLAGS += -Wno-gnu
37 KBUILD_CFLAGS += -Wno-main
41 KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer)
44 KBUILD_CFLAGS += -Wvla
47 KBUILD_CFLAGS += -Wno-pointer-sign
52 KBUILD_CFLAGS += $(call cc-option, -Wcast-function-type)
65 KBUILD_CFLAGS-$(call gcc-min-version, 90100) += -Wno-alloc-size-larger-than
66 KBUILD_CFLAGS += $(KBUILD_CFLAGS-y) $(CONFIG_CC_IMPLICIT_FALLTHROUGH)
69 KBUILD_CFLAGS += -Werror=date-time
72 KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
75 KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
78 KBUILD_CFLAGS += $(call cc-option,-Wenum-conversion)
80 KBUILD_CFLAGS += -Wextra
81 KBUILD_CFLAGS += -Wunused
88 KBUILD_CFLAGS += -Wmissing-format-attribute
89 KBUILD_CFLAGS += -Wmissing-include-dirs
90 KBUILD_CFLAGS += $(call cc-option, -Wunused-const-variable)
99 KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
100 KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
101 KBUILD_CFLAGS += $(call cc-disable-warning, packed-not-aligned)
102 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
104 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
108 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow-non-kprintf)
109 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation-non-kprintf)
111 KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation)
113 KBUILD_CFLAGS += -Wno-override-init # alias for -Wno-initializer-overrides in clang
119 KBUILD_CFLAGS += -Wno-format
122 KBUILD_CFLAGS += -Wformat-extra-args -Wformat-invalid-specifier
123 KBUILD_CFLAGS += -Wformat-zero-length -Wnonnull
126 KBUILD_CFLAGS += -Wformat-insufficient-args
129 KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast)
130 KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
131 KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access)
132 KBUILD_CFLAGS += -Wno-enum-compare-conditional
133 KBUILD_CFLAGS += -Wno-enum-enum-conversion
143 KBUILD_CFLAGS += -Wdisabled-optimization
144 KBUILD_CFLAGS += -Wshadow
145 KBUILD_CFLAGS += $(call cc-option, -Wlogical-op)
146 KBUILD_CFLAGS += $(call cc-option, -Wunused-macros)
153 KBUILD_CFLAGS += -Wno-missing-field-initializers
154 KBUILD_CFLAGS += -Wno-type-limits
155 KBUILD_CFLAGS += -Wno-shift-negative-value
158 KBUILD_CFLAGS += -Wno-maybe-uninitialized
168 KBUILD_CFLAGS += -Wbad-function-cast
169 KBUILD_CFLAGS += -Wcast-align
170 KBUILD_CFLAGS += -Wcast-qual
171 KBUILD_CFLAGS += -Wconversion
172 KBUILD_CFLAGS += -Wpacked
173 KBUILD_CFLAGS += -Wpadded
174 KBUILD_CFLAGS += -Wpointer-arith
175 KBUILD_CFLAGS += -Wredundant-decls
176 KBUILD_CFLAGS += -Wsign-compare
177 KBUILD_CFLAGS += -Wswitch-default
184 KBUILD_CFLAGS += -Wno-sign-compare
185 KBUILD_CFLAGS += -Wno-unused-parameter
194 KBUILD_CFLAGS += -Werror