Lines Matching full:cc
3 # cc-cross-prefix
4 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
12 cc-cross-prefix = $(firstword $(foreach c, $(1), \
19 # Usage: option = $(call try-run, $(CC)...-o "$$TMP",option-ok,otherwise)
35 …$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_AFLAGS) $(1) -c -x assembler-with-cpp /dev/null -o "$$TM…
41 …printf "%b\n" "$(1)" | $(CC) -Werror $(CLANG_FLAGS) $(KBUILD_AFLAGS) -Wa$(comma)--fatal-warnings -…
44 # Usage: MY_CFLAGS += $(call __cc-option,$(CC),$(MY_CFLAGS),-march=winchip-c6,-march=i586)
48 # cc-option
49 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
51 cc-option = $(call __cc-option, $(CC),\
54 # cc-option-yn
55 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
56 cc-option-yn = $(if $(call cc-option,$1),y,n)
58 # cc-disable-warning
59 # Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
60 cc-disable-warning = $(call cc-option,-Wno-$(strip $1))