Lines Matching refs:cc
70 # cc-cross-prefix
71 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
74 cc-cross-prefix = \
109 # cc-option
110 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
112 cc-option = $(call try-run,\
115 # cc-option-yn
116 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
117 cc-option-yn = $(call try-run,\
120 # cc-option-align
122 cc-option-align = $(subst -functions=0,,\
123 $(call cc-option,-falign-functions=0,-malign-functions=0))
125 # cc-disable-warning
126 # Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
127 cc-disable-warning = $(call try-run,\
130 # cc-version
131 # Usage gcc-ver := $(call cc-version)
132 cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
134 # cc-fullversion
135 # Usage gcc-ver := $(call cc-fullversion)
136 cc-fullversion = $(shell $(CONFIG_SHELL) \
139 # cc-ifversion
140 # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
141 cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3))
143 # cc-ldoption
144 # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)
145 cc-ldoption = $(call try-run,\