aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/toplevel.mk2
1 files changed, 1 insertions, 1 deletions
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