include: let HOSTCC default to $(CC), not gcc
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 5 Feb 2015 16:57:50 +0000 (16:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 5 Feb 2015 16:57:50 +0000 (16:57 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44277

include/toplevel.mk

index 23e832f2b4b95a93d1643fda7f6dc28c7b99e978..0b8a658c18423455310b3a4c6ee03b48fc850522 100644 (file)
@@ -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