Lines Matching refs:gcc
80 $(call allow-override,CC,$(CROSS_COMPILE)gcc)
89 $(call allow-override,HOSTCC,gcc)
104 # spew "gcc: not found". Only the first word of CC is consulted, as CC
105 # may carry arguments, e.g. 'ccache gcc'. A missing compiler leaves
124 GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)gcc 2>/dev/null))
127 CLANG_CROSS_FLAGS += --sysroot=$(shell $(CROSS_COMPILE)gcc -print-sysroot)
128 CLANG_CROSS_FLAGS += --gcc-toolchain=$(realpath $(GCC_TOOLCHAIN_DIR)/..)
138 # We should be changing CFLAGS and checking gcc version, but this
144 # and https://gcc.gnu.org/gcc-4.8/changes.html,
146 # -Wshadow not being interesting before gcc 4.8.