From: nbd Date: Mon, 16 Jul 2012 14:14:12 +0000 (+0000) Subject: scripts/config: build with gcc instead of clang on mac os x X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=723aad6f3276007d10fe1a6180f4821e1e9adab2;p=openwrt.git scripts/config: build with gcc instead of clang on mac os x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32749 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/toplevel.mk b/include/toplevel.mk index c25b8a51e5..d37ddb9171 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