X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=include%2Ftoplevel.mk;fp=include%2Ftoplevel.mk;h=0b8a658c18423455310b3a4c6ee03b48fc850522;hp=23e832f2b4b95a93d1643fda7f6dc28c7b99e978;hb=7533ce8ca51578834d0c290e55cdde3f9d18d2e6;hpb=69090a3e89597a94ee32d3c89202743b90a4956f diff --git a/include/toplevel.mk b/include/toplevel.mk index 23e832f2b4..0b8a658c18 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -19,7 +19,7 @@ else REVISION:=$(shell $(TOPDIR)/scripts/getver.sh) endif -HOSTCC ?= gcc +HOSTCC ?= $(CC) OPENWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION))) export RELEASE export REVISION