aboutsummaryrefslogtreecommitdiffstats
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
parent9aca57b6ae5852831542241eba638c57a076bd56 (diff)
downloadupstream-2cdba572f91b77bd46f088ef000436d07fc44544.tar.gz
upstream-2cdba572f91b77bd46f088ef000436d07fc44544.tar.bz2
upstream-2cdba572f91b77bd46f088ef000436d07fc44544.zip
include: let HOSTCC default to $(CC), not gcc
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44277
-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