Skip to content

Commit

Permalink
scripts/config: build with gcc instead of clang on mac os x
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32749 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
nbd committed Jul 16, 2012
1 parent 72843c2 commit 723aad6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/toplevel.mk
Expand Up @@ -17,6 +17,7 @@ else
REVISION:=$(shell $(TOPDIR)/scripts/getver.sh)
endif

HOSTCC ?= gcc
OPENWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION)))
export RELEASE
export REVISION
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 723aad6

Please sign in to comment.