mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
uclibc: remove uclibc++ support
This commit is contained in:
parent
bbe6bff1ae
commit
1b17cdd067
@ -221,20 +221,6 @@ menu "Global build settings"
|
|||||||
make the system libraries incompatible with most of the packages that are
|
make the system libraries incompatible with most of the packages that are
|
||||||
not selected during the build process.
|
not selected during the build process.
|
||||||
|
|
||||||
choice
|
|
||||||
prompt "Preferred standard C++ library"
|
|
||||||
default USE_LIBSTDCXX if USE_GLIBC
|
|
||||||
default USE_UCLIBCXX
|
|
||||||
help
|
|
||||||
Select the preferred standard C++ library for all packages that support this.
|
|
||||||
|
|
||||||
config USE_UCLIBCXX
|
|
||||||
bool "uClibc++"
|
|
||||||
|
|
||||||
config USE_LIBSTDCXX
|
|
||||||
bool "libstdc++"
|
|
||||||
endchoice
|
|
||||||
|
|
||||||
comment "Hardening build options"
|
comment "Hardening build options"
|
||||||
|
|
||||||
config PKG_CHECK_FORMAT_SECURITY
|
config PKG_CHECK_FORMAT_SECURITY
|
||||||
|
@ -1,16 +1,2 @@
|
|||||||
ifndef DUMP
|
$(warn uclibc++.mk is deprecated. Please remove it and CXX_DEPENDS)
|
||||||
ifdef __package_mk
|
CXX_DEPENDS = +libstdcpp
|
||||||
$(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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user