mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:16:16 +02:00
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
This commit is contained in:
parent
72843c21b4
commit
723aad6f32
@ -17,6 +17,7 @@ else
|
|||||||
REVISION:=$(shell $(TOPDIR)/scripts/getver.sh)
|
REVISION:=$(shell $(TOPDIR)/scripts/getver.sh)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
HOSTCC ?= gcc
|
||||||
OPENWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION)))
|
OPENWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION)))
|
||||||
export RELEASE
|
export RELEASE
|
||||||
export REVISION
|
export REVISION
|
||||||
@ -69,12 +70,12 @@ prepare-tmpinfo: FORCE
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
scripts/config/mconf:
|
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))
|
$(eval $(call rdep,scripts/config,scripts/config/mconf))
|
||||||
|
|
||||||
scripts/config/conf:
|
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: scripts/config/conf prepare-tmpinfo FORCE
|
||||||
$< Config.in
|
$< Config.in
|
||||||
|
Loading…
Reference in New Issue
Block a user