Lines Matching refs:cc
66 # cc-cross-prefix
67 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
70 cc-cross-prefix = \
105 # cc-option
106 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
108 cc-option = $(call try-run,\
111 # cc-option-yn
112 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
113 cc-option-yn = $(call try-run,\
116 # cc-option-align
118 cc-option-align = $(subst -functions=0,,\
119 $(call cc-option,-falign-functions=0,-malign-functions=0))
121 # cc-disable-warning
122 # Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
123 cc-disable-warning = $(call try-run,\
126 # cc-version
127 # Usage gcc-ver := $(call cc-version)
128 cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
130 # cc-fullversion
131 # Usage gcc-ver := $(call cc-fullversion)
132 cc-fullversion = $(shell $(CONFIG_SHELL) \
135 # cc-ifversion
136 # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
137 cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3))
139 # cc-ldoption
140 # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)
141 cc-ldoption = $(call try-run,\