1ifndef DUMP
2  ifdef __package_mk
3    $(error uclibc++.mk must be included before package.mk)
4  endif
5endif
6
7PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX
8CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp
9
10ifneq ($(CONFIG_USE_UCLIBCXX),)
11 ifneq ($(CONFIG_CCACHE),)
12  TARGET_CXX_NOCACHE=g++-uc
13 else
14  TARGET_CXX=g++-uc
15 endif
16endif
17