Use CXX_RT=glibcxx_static by default on armv7
Global default CXX_RT=libcxxrt is currently broken on 32-bit armv7.
@@ -36,7 +36,12 @@ ELSEIF (OS_IOS)
LDFLAGS(-lc++abi)
CFLAGS(-DLIBCXX_BUILDING_LIBCXXABI)
ELSEIF (CLANG OR MUSL OR OS_DARWIN OR USE_LTO)
+ IF (ARCH_ARM7)
+ # XXX: libcxxrt support for ARM is currently broken
+ DEFAULT(CXX_RT "glibcxx_static")
+ ELSE()
DEFAULT(CXX_RT "libcxxrt")
+ ENDIF()
IF (MUSL)
ADDINCL(
GLOBAL contrib/libs/musl/arch/x86_64
