Lines Matching refs:KBUILD_CFLAGS

514 KBUILD_CFLAGS   := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \  macro
535 export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
751 KBUILD_CFLAGS += -fno-delete-null-pointer-checks
752 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
753 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
754 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
755 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
758 KBUILD_CFLAGS += -O2
760 KBUILD_CFLAGS += -O3
762 KBUILD_CFLAGS += -Os
769 KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0)
770 KBUILD_CFLAGS += $(call cc-option,-fno-allow-store-data-races)
778 KBUILD_CFLAGS += -fno-reorder-blocks -fno-ipa-cp-clone -fno-partial-inlining
782 KBUILD_CFLAGS += -Wframe-larger-than=$(CONFIG_FRAME_WARN)
789 KBUILD_CFLAGS += $(stackp-flags-y)
791 KBUILD_CFLAGS-$(CONFIG_WERROR) += -Werror
792 KBUILD_CFLAGS += $(KBUILD_CFLAGS-y) $(CONFIG_CC_IMPLICIT_FALLTHROUGH:"%"=%)
797 KBUILD_CFLAGS += -Wno-gnu
801 KBUILD_CFLAGS += -mno-global-merge
805 KBUILD_CFLAGS += -Wno-main
810 KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
811 KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
814 KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
822 KBUILD_CFLAGS += -fomit-frame-pointer
828 KBUILD_CFLAGS += -ftrivial-auto-var-init=pattern
833 KBUILD_CFLAGS += -ftrivial-auto-var-init=zero
836 KBUILD_CFLAGS += -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
842 KBUILD_CFLAGS += $(call cc-option, -fno-stack-clash-protection)
846 KBUILD_CFLAGS += -fzero-call-used-regs=used-gpr
876 KBUILD_CFLAGS += $(CC_FLAGS_FTRACE) $(CC_FLAGS_USING)
882 KBUILD_CFLAGS += -fno-inline-functions-called-once
892 KBUILD_CFLAGS += $(CC_FLAGS_SCS)
918 KBUILD_CFLAGS += -fno-lto $(CC_FLAGS_LTO)
936 KBUILD_CFLAGS += $(CC_FLAGS_CFI)
941 KBUILD_CFLAGS += -falign-functions=64
948 KBUILD_CFLAGS += -Wdeclaration-after-statement
951 KBUILD_CFLAGS += -Wvla
954 KBUILD_CFLAGS += -Wno-pointer-sign
957 KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation)
960 KBUILD_CFLAGS += $(call cc-disable-warning, zero-length-bounds)
961 KBUILD_CFLAGS += -Wno-array-bounds
962 KBUILD_CFLAGS += $(call cc-disable-warning, stringop-overflow)
965 KBUILD_CFLAGS += $(call cc-disable-warning, restrict)
969 KBUILD_CFLAGS += -Wno-maybe-uninitialized
984 KBUILD_CFLAGS += $(call cc-ifversion, -ge, 0901, -Wno-alloc-size-larger-than)
988 KBUILD_CFLAGS += -fno-strict-overflow
991 KBUILD_CFLAGS += -fno-stack-check
995 KBUILD_CFLAGS += -fconserve-stack
999 KBUILD_CFLAGS += -Werror=date-time
1002 KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
1005 KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
1028 KBUILD_CFLAGS += $(KCFLAGS)
1048 KBUILD_USERCFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CFLAGS))
1049 KBUILD_USERLDFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CFLAGS))