summaryrefslogtreecommitdiff
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
commit2cdba572f91b77bd46f088ef000436d07fc44544 (patch)
tree45f3a4f6c307736573a507e78af1291645cf2a58 /include/toplevel.mk
parent9aca57b6ae5852831542241eba638c57a076bd56 (diff)
downloadmtk-20170518-2cdba572f91b77bd46f088ef000436d07fc44544.zip
mtk-20170518-2cdba572f91b77bd46f088ef000436d07fc44544.tar.gz
mtk-20170518-2cdba572f91b77bd46f088ef000436d07fc44544.tar.bz2
include: let HOSTCC default to $(CC), not gcc
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44277
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 23e832f..0b8a658 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