diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-07-16 14:14:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-07-16 14:14:12 +0000 |
commit | 6ae20bf412d014eea1fc9598b25e2b4821e8a3c5 (patch) | |
tree | 71fbd40ec0339215d4ddc91956ea75563c3a57b8 /include/toplevel.mk | |
parent | b29239d9f03d70672998a04e66a5536804bc1e26 (diff) | |
download | mtk-20170518-6ae20bf412d014eea1fc9598b25e2b4821e8a3c5.zip mtk-20170518-6ae20bf412d014eea1fc9598b25e2b4821e8a3c5.tar.gz mtk-20170518-6ae20bf412d014eea1fc9598b25e2b4821e8a3c5.tar.bz2 |
scripts/config: build with gcc instead of clang on mac os x
SVN-Revision: 32749
Diffstat (limited to 'include/toplevel.mk')
-rw-r--r-- | include/toplevel.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk index c25b8a5..d37ddb9 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -17,6 +17,7 @@ else REVISION:=$(shell $(TOPDIR)/scripts/getver.sh) endif +HOSTCC ?= gcc OPENWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION))) export RELEASE export REVISION @@ -69,12 +70,12 @@ prepare-tmpinfo: FORCE fi scripts/config/mconf: - @$(_SINGLE)$(SUBMAKE) -s -C scripts/config all + @$(_SINGLE)$(SUBMAKE) -s -C scripts/config all CC="$(HOSTCC)" $(eval $(call rdep,scripts/config,scripts/config/mconf)) scripts/config/conf: - @$(_SINGLE)$(SUBMAKE) -s -C scripts/config conf + @$(_SINGLE)$(SUBMAKE) -s -C scripts/config conf CC="$(HOSTCC)" config: scripts/config/conf prepare-tmpinfo FORCE $< Config.in |