Skip to content

Commit

Permalink
[uclibc++] fix ccache related build breakage
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32421 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
blogic committed Jun 18, 2012
1 parent 9f34036 commit 8b3a99d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/uclibc++.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions package/uclibc++/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 8b3a99d

Please sign in to comment.