forked from openwrt/openwrt
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No package here depends on it. Furthermore, uClibc++ is a fairly buggy C++ library and seems to be relatively inactive upstream. It also lacks proper support for modern C++11 features. The main benefit of it is size: 66.6 KB vs 287.3 KB on mips24kc. Static linking and LTO can help bring the size down of packages that need it. Added warning message to uclibc++.mk Signed-off-by: Rosen Penev <rosenp@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
- Loading branch information
Showing
9 changed files
with
2 additions
and
428 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,2 @@ | ||
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 | ||
$(warn uclibc++.mk is deprecated. Please remove it and CXX_DEPENDS) | ||
CXX_DEPENDS = +libstdcpp |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.