aboutsummaryrefslogtreecommitdiffstats
path: root/include/toplevel.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-02-05 16:57:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-02-05 16:57:50 +0000
commit072d2577322ef43d1e573f75cd37ee1ab2847eb2 (patch)
tree311467e75f9be38750a02f3de20bcf63aeae34a3 /include/toplevel.mk
parenta1ababcdc941dcb273db948e8851211f73af1b02 (diff)
downloadupstream-072d2577322ef43d1e573f75cd37ee1ab2847eb2.tar.gz
upstream-072d2577322ef43d1e573f75cd37ee1ab2847eb2.tar.bz2
upstream-072d2577322ef43d1e573f75cd37ee1ab2847eb2.zip
include: let HOSTCC default to $(CC), not gcc
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44277 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/toplevel.mk')
-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