Lines Matching refs:KBUILD_CFLAGS
416 KBUILD_CFLAGS := -Wall -Wstrict-prototypes \ macro
419 KBUILD_CFLAGS += -fshort-wchar -fno-strict-aliasing
433 KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) $(CLANG_PREFIX)
435 KBUILD_CFLAGS += $(call cc-option, -no-integrated-as)
440 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
455 export KBUILD_CFLAGS KBUILD_AFLAGS
670 KBUILD_CFLAGS += -Os
672 KBUILD_CFLAGS += -O2
675 KBUILD_CFLAGS += $(call cc-option,-fno-stack-protector)
676 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks)
679 KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation)
682 KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)
685 KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
687 KBUILD_CFLAGS += -g
697 KBUILD_CFLAGS += -fstack-usage
701 KBUILD_CFLAGS += $(call cc-option,-Wno-format-nonliteral)
702 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
706 KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
707 KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
708 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
710 KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
714 KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
715 KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
720 KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
724 KBUILD_CFLAGS += $(call cc-option,-Werror=date-time)
731 KBUILD_CFLAGS += $(KCFLAGS)
753 c_flags := $(KBUILD_CFLAGS) $(cpp_flags)
834 KBUILD_CFLAGS += --coverage