mediatek: fix IPv4-only corner case and commit in 99-net-ps
[oweals/openwrt.git] / include / uclibc++.mk
1 ifndef DUMP
2   ifdef __package_mk
3     $(error uclibc++.mk must be included before package.mk)
4   endif
5 endif
6
7 PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX CONFIG_USE_LIBCXX
8 CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBCXX:libcxx +USE_LIBSTDCXX:libstdcpp
9
10 ifneq ($(CONFIG_USE_UCLIBCXX),)
11  ifneq ($(CONFIG_CCACHE),)
12   TARGET_CXX_NOCACHE=g++-uc
13  else
14   TARGET_CXX=g++-uc
15  endif
16 endif
17
18 ifneq ($(CONFIG_USE_LIBCXX),)
19  ifneq ($(CONFIG_CCACHE),)
20   TARGET_CXX_NOCACHE=g++-libcxx
21  else
22   TARGET_CXX=g++-libcxx
23  endif
24 endif