mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:56:14 +02:00
[uclibc++] fix ccache related build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32421 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9f3403679d
commit
8b3a99d374
@ -9,8 +9,8 @@ CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp
|
|||||||
|
|
||||||
ifneq ($(CONFIG_USE_UCLIBCXX),)
|
ifneq ($(CONFIG_USE_UCLIBCXX),)
|
||||||
ifneq ($(CONFIG_CCACHE),)
|
ifneq ($(CONFIG_CCACHE),)
|
||||||
TARGET_CXX_NOCACHE="g++-uc"
|
TARGET_CXX_NOCACHE=g++-uc
|
||||||
else
|
else
|
||||||
TARGET_CXX="g++-uc"
|
TARGET_CXX=g++-uc
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -45,6 +45,10 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
|
|||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_CCACHE),)
|
||||||
|
TARGET_CXX=$(TARGET_CXX_NOCACHE)
|
||||||
|
endif
|
||||||
|
|
||||||
MAKE_FLAGS:= \
|
MAKE_FLAGS:= \
|
||||||
TOPDIR="$(PKG_BUILD_DIR)/" \
|
TOPDIR="$(PKG_BUILD_DIR)/" \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
Loading…
Reference in New Issue
Block a user