Skip to content

Commit

Permalink
libcxx: Build with the libsupc++ ABI
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
neheb authored and jow- committed Jan 1, 2020
1 parent a176f8d commit 1f8ab1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/libs/libcxx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=libcxx
PKG_VERSION:=9.0.1
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://git.llvm.org/git/libcxx
Expand Down Expand Up @@ -37,6 +37,7 @@ define Package/libcxx/description
endef

CMAKE_OPTIONS += \
-DLIBCXX_CXX_ABI="libsupc++" \
-DLIBCXX_ENABLE_ASSERTIONS=OFF \
-DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF \
-DLIBCXX_INCLUDE_BENCHMARKS=OFF \
Expand Down

0 comments on commit 1f8ab1c

Please sign in to comment.