mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
libcxx: Build with the libsupc++ ABI
Allows proper exception handling. This includes removing unimplemented warnings. File size increased as a result: Before: 182874 After: 211006 On mipsel_24kc. Note that this requires libsupc++ anyway. It's specified in g++-libcxx. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
a176f8d3ec
commit
1f8ab1c640
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libcxx
|
PKG_NAME:=libcxx
|
||||||
PKG_VERSION:=9.0.1
|
PKG_VERSION:=9.0.1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://git.llvm.org/git/libcxx
|
PKG_SOURCE_URL:=https://git.llvm.org/git/libcxx
|
||||||
@ -37,6 +37,7 @@ define Package/libcxx/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CMAKE_OPTIONS += \
|
CMAKE_OPTIONS += \
|
||||||
|
-DLIBCXX_CXX_ABI="libsupc++" \
|
||||||
-DLIBCXX_ENABLE_ASSERTIONS=OFF \
|
-DLIBCXX_ENABLE_ASSERTIONS=OFF \
|
||||||
-DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF \
|
-DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF \
|
||||||
-DLIBCXX_INCLUDE_BENCHMARKS=OFF \
|
-DLIBCXX_INCLUDE_BENCHMARKS=OFF \
|
||||||
|
Loading…
Reference in New Issue
Block a user