mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 07:33:04 +00:00
2430e9a4f5
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36594
17 lines
341 B
Makefile
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
|