1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:07:11 +02:00
openwrt-xburst/include/uclibc++.mk
blogic 8b3a99d374 [uclibc++] fix ccache related build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 08:50:26 +00:00

17 lines
341 B
Makefile

ifndef DUMP
ifdef __package_mk
$(error uclibc++.mk must be included before package.mk)
endif
endif
PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX
CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp
ifneq ($(CONFIG_USE_UCLIBCXX),)
ifneq ($(CONFIG_CCACHE),)
TARGET_CXX_NOCACHE=g++-uc
else
TARGET_CXX=g++-uc
endif
endif