mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-02 06:13:54 +08:00
f7d7a3a18b
This is a neat project, but offers no benefit to OpenWrt. The initial reason for it was to be a replacement for libstdcpp as it is smaller and lacks compatibility for C++98. Unfortunately, compiling several packages with it results in larger ipk sizes. While not a member of the packages feed, this will be moved to packages-abandoned to keep it somewhere. Signed-off-by: Rosen Penev <rosenp@gmail.com>
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
|