fix ccache related build breakage

SVN-Revision: 32421
This commit is contained in:
John Crispin 2012-06-18 08:50:26 +00:00
parent 3360067932
commit 0a684babcc
2 changed files with 6 additions and 2 deletions

View File

@ -9,8 +9,8 @@ CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp
ifneq ($(CONFIG_USE_UCLIBCXX),)
ifneq ($(CONFIG_CCACHE),)
TARGET_CXX_NOCACHE="g++-uc"
TARGET_CXX_NOCACHE=g++-uc
else
TARGET_CXX="g++-uc"
TARGET_CXX=g++-uc
endif
endif

View File

@ -45,6 +45,10 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
TARGET_CFLAGS += $(FPIC)
ifneq ($(CONFIG_CCACHE),)
TARGET_CXX=$(TARGET_CXX_NOCACHE)
endif
MAKE_FLAGS:= \
TOPDIR="$(PKG_BUILD_DIR)/" \
$(TARGET_CONFIGURE_OPTS) \